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

Method WriteFlag

src/txdb.cpp:238–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238bool CBlockTreeDB::WriteFlag(const std::string &name, bool fValue) {
239 return Write(std::make_pair(DB_FLAG, name), fValue ? '1' : '0');
240}
241
242bool CBlockTreeDB::ReadFlag(const std::string &name, bool &fValue) {
243 char ch;

Callers 2

FlushStateToDiskFunction · 0.80
MigrateDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected