RAII class that provides access to a WalletDatabase.
More...
#include <db.h>
RAII class that provides access to a WalletDatabase.
Definition at line 50 of file db.h.
◆ DatabaseBatch() [1/2]
| wallet::DatabaseBatch::DatabaseBatch |
( |
| ) |
|
|
explicitdefault |
◆ ~DatabaseBatch()
| virtual wallet::DatabaseBatch::~DatabaseBatch |
( |
| ) |
|
|
virtualdefault |
◆ DatabaseBatch() [2/2]
| wallet::DatabaseBatch::DatabaseBatch |
( |
const DatabaseBatch & | | ) |
|
|
delete |
◆ Close()
| virtual void wallet::DatabaseBatch::Close |
( |
| ) |
|
|
pure virtual |
◆ Erase()
template<typename K>
| bool wallet::DatabaseBatch::Erase |
( |
const K & | key | ) |
|
|
inline |
Definition at line 99 of file db.h.
◆ EraseKey()
| virtual bool wallet::DatabaseBatch::EraseKey |
( |
DataStream && | key | ) |
|
|
privatepure virtual |
◆ ErasePrefix()
| virtual bool wallet::DatabaseBatch::ErasePrefix |
( |
std::span< const std::byte > | prefix | ) |
|
|
pure virtual |
◆ Exists()
template<typename K>
| bool wallet::DatabaseBatch::Exists |
( |
const K & | key | ) |
|
|
inline |
Definition at line 109 of file db.h.
◆ GetNewCursor()
| virtual std::unique_ptr< DatabaseCursor > wallet::DatabaseBatch::GetNewCursor |
( |
| ) |
|
|
pure virtual |
◆ GetNewPrefixCursor()
| virtual std::unique_ptr< DatabaseCursor > wallet::DatabaseBatch::GetNewPrefixCursor |
( |
std::span< const std::byte > | prefix | ) |
|
|
pure virtual |
◆ HasActiveTxn()
| virtual bool wallet::DatabaseBatch::HasActiveTxn |
( |
| ) |
|
|
pure virtual |
◆ HasKey()
| virtual bool wallet::DatabaseBatch::HasKey |
( |
DataStream && | key | ) |
|
|
privatepure virtual |
◆ operator=()
◆ Read()
template<typename K, typename
T>
| bool wallet::DatabaseBatch::Read |
( |
const K & | key, |
|
|
T & | value ) |
|
inline |
Definition at line 68 of file db.h.
◆ ReadKey()
◆ TxnAbort()
| virtual bool wallet::DatabaseBatch::TxnAbort |
( |
| ) |
|
|
pure virtual |
◆ TxnBegin()
| virtual bool wallet::DatabaseBatch::TxnBegin |
( |
| ) |
|
|
pure virtual |
◆ TxnCommit()
| virtual bool wallet::DatabaseBatch::TxnCommit |
( |
| ) |
|
|
pure virtual |
◆ Write()
template<typename K, typename
T>
| bool wallet::DatabaseBatch::Write |
( |
const K & | key, |
|
|
const T & | value, |
|
|
bool | fOverwrite = true ) |
|
inline |
Definition at line 85 of file db.h.
◆ WriteKey()
| virtual bool wallet::DatabaseBatch::WriteKey |
( |
DataStream && | key, |
|
|
DataStream && | value, |
|
|
bool | overwrite = true ) |
|
privatepure virtual |
The documentation for this class was generated from the following file: