Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Go to the documentation of this file. 7 std::unique_ptr<CEvoDB>
evoDb;
35 db(fMemory ?
"" : (
GetDataDir() /
"evodb"), nCacheSize, fMemory, fWipe),
37 rootDBTransaction(db, rootBatch),
38 curDBTransaction(rootDBTransaction, rootDBTransaction)
70 assert(hashBestBlock == hashBlockIndex);
void CommitCurTransaction()
static const std::string EVODB_BEST_BLOCK
void Write(const K &key, const V &value)
bool Read(const K &key, V &value)
std::unique_ptr< CEvoDB > evoDb
CEvoDBScopedCommitter(CEvoDB &_evoDB)
void WriteBestBlock(const uint256 &hash)
bool VerifyBestBlock(const uint256 &hash)
CEvoDB(size_t nCacheSize, bool fMemory=false, bool fWipe=false)
bool CommitRootTransaction()
void RollbackCurTransaction()
RootTransaction rootDBTransaction
const fs::path & GetDataDir(bool fNetSpecific)
bool WriteBatch(CDBBatch &batch, bool fSync=false)
CurTransaction curDBTransaction