MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / WriteFlag

Method WriteFlag

src/txdb.cpp:179–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179bool CBlockTreeDB::WriteFlag(const std::string &name, bool fValue) {
180 return Write(std::make_pair(DB_FLAG, name), fValue ? '1' : '0');
181}
182
183bool CBlockTreeDB::ReadFlag(const std::string &name, bool &fValue) {
184 char ch;

Callers 2

FlushStateToDiskFunction · 0.80
InitBlockIndexFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected