mirror of
https://github.com/XRPLF/rippled.git
synced 2026-03-25 14:12:25 +00:00
The rdb module was not properly designed, which is fixed in this change. The module had three classes: 1) The abstract class `RelationalDB`. 2) The abstract class `SQLiteDatabase`, which inherited from `RelationalDB` and added some pure virtual methods. 3) The concrete class `SQLiteDatabaseImp`, which inherited from `SQLiteDatabase` and implemented all methods. The updated code simplifies this as follows: * The `SQLiteDatabaseImp` has become `SQLiteDatabase`, and * The former `SQLiteDatabase `has merged with `RelationalDatabase`.
8 lines
81 B
C++
8 lines
81 B
C++
#pragma once
|
|
|
|
namespace xrpl {
|
|
|
|
enum class TxSearched { all, some, unknown };
|
|
|
|
}
|