Bitcoin ABC 0.26.3
P2P Digital Currency
|
RAII class that provides access to a DummyDatabase. More...
#include <db.h>
Public Member Functions | |
void | Flush () override |
void | Close () override |
bool | StartCursor () override |
bool | ReadAtCursor (CDataStream &ssKey, CDataStream &ssValue, bool &complete) override |
void | CloseCursor () override |
bool | TxnBegin () override |
bool | TxnCommit () override |
bool | TxnAbort () override |
Public Member Functions inherited from DatabaseBatch | |
DatabaseBatch () | |
virtual | ~DatabaseBatch () |
DatabaseBatch (const DatabaseBatch &)=delete | |
DatabaseBatch & | operator= (const DatabaseBatch &)=delete |
template<typename K , typename T > | |
bool | Read (const K &key, T &value) |
template<typename K , typename T > | |
bool | Write (const K &key, const T &value, bool fOverwrite=true) |
template<typename K > | |
bool | Erase (const K &key) |
template<typename K > | |
bool | Exists (const K &key) |
Private Member Functions | |
bool | ReadKey (CDataStream &&key, CDataStream &value) override |
bool | WriteKey (CDataStream &&key, CDataStream &&value, bool overwrite=true) override |
bool | EraseKey (CDataStream &&key) override |
bool | HasKey (CDataStream &&key) override |
RAII class that provides access to a DummyDatabase.
Never fails.
|
inlineoverridevirtual |
Implements DatabaseBatch.
|
inlineoverridevirtual |
Implements DatabaseBatch.
|
inlineoverrideprivatevirtual |
Implements DatabaseBatch.
|
inlineoverridevirtual |
Implements DatabaseBatch.
|
inlineoverrideprivatevirtual |
Implements DatabaseBatch.
|
inlineoverridevirtual |
Implements DatabaseBatch.
|
inlineoverrideprivatevirtual |
Implements DatabaseBatch.
|
inlineoverridevirtual |
Implements DatabaseBatch.
|
inlineoverridevirtual |
Implements DatabaseBatch.
|
inlineoverridevirtual |
Implements DatabaseBatch.
|
inlineoverridevirtual |
Implements DatabaseBatch.
|
inlineoverrideprivatevirtual |
Implements DatabaseBatch.