![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <dbwrapper.h>
Public Member Functions | |
CDBBatch (const std::vector< unsigned char > *obfuscate_key) | |
template<typename K , typename V > | |
void | Write (const K &key, const V &value) |
template<typename K > | |
void | Erase (const K &key) |
Private Attributes | |
leveldb::WriteBatch | batch |
const std::vector< unsigned char > * | obfuscate_key |
Friends | |
class | CDBWrapper |
Batch of changes queued to be written to a CDBWrapper
Definition at line 29 of file dbwrapper.h.
|
inline |
[in] | obfuscate_key | If passed, XOR data with this key. |
Definition at line 41 of file dbwrapper.h.
|
inline |
Definition at line 61 of file dbwrapper.h.
Referenced by CDBWrapper::Erase(), CBlockTreeDB::EraseAddressIndex(), CBlockTreeDB::UpdateAddressUnspentIndex(), and CBlockTreeDB::UpdateSpentIndex().
|
inline |
Definition at line 44 of file dbwrapper.h.
Referenced by CBlockTreeDB::UpdateAddressUnspentIndex(), CBlockTreeDB::UpdateSpentIndex(), CDBWrapper::Write(), CBlockTreeDB::WriteAddressIndex(), CBlockTreeDB::WriteBatchSync(), CBlockTreeDB::WriteTimestampIndex(), and CBlockTreeDB::WriteTxIndex().
|
friend |
Definition at line 31 of file dbwrapper.h.
|
private |
Definition at line 34 of file dbwrapper.h.
|
private |
Definition at line 35 of file dbwrapper.h.
Referenced by Write().