Bitcoin ABC 0.26.3
P2P Digital Currency
|
RAII class that provides access to a WalletDatabase. More...
#include <db.h>
Public Member Functions | |
DatabaseBatch () | |
virtual | ~DatabaseBatch () |
DatabaseBatch (const DatabaseBatch &)=delete | |
DatabaseBatch & | operator= (const DatabaseBatch &)=delete |
virtual void | Flush ()=0 |
virtual void | Close ()=0 |
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) |
virtual bool | StartCursor ()=0 |
virtual bool | ReadAtCursor (CDataStream &ssKey, CDataStream &ssValue, bool &complete)=0 |
virtual void | CloseCursor ()=0 |
virtual bool | TxnBegin ()=0 |
virtual bool | TxnCommit ()=0 |
virtual bool | TxnAbort ()=0 |
Private Member Functions | |
virtual bool | ReadKey (CDataStream &&key, CDataStream &value)=0 |
virtual bool | WriteKey (CDataStream &&key, CDataStream &&value, bool overwrite=true)=0 |
virtual bool | EraseKey (CDataStream &&key)=0 |
virtual bool | HasKey (CDataStream &&key)=0 |
RAII class that provides access to a WalletDatabase.
|
delete |
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
|
privatepure virtual |
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
|
privatepure virtual |
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
|
delete |
|
pure virtual |
Implemented in SQLiteBatch, BerkeleyBatch, and DummyBatch.
|
privatepure virtual |
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.
|
privatepure virtual |
Implemented in BerkeleyBatch, DummyBatch, and SQLiteBatch.