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

Method ReadFlag

src/txdb.cpp:242–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242bool CBlockTreeDB::ReadFlag(const std::string &name, bool &fValue) {
243 char ch;
244 if (!Read(std::make_pair(DB_FLAG, name), ch))
245 return false;
246 fValue = ch == '1';
247 return true;
248}
249
250bool CBlockTreeDB::LoadBlockIndexGuts(const Consensus::Params& consensusParams, std::function<CBlockIndex*(const uint256&)> insertBlockIndex)
251{

Callers 2

EXCLUSIVE_LOCKS_REQUIREDFunction · 0.80
MigrateDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected