MCPcopy Create free account
hub / github.com/ElementsProject/elements / ReadFlag

Method ReadFlag

src/txdb.cpp:316–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316bool CBlockTreeDB::ReadFlag(const std::string &name, bool &fValue) {
317 uint8_t ch;
318 if (!Read(std::make_pair(DB_FLAG, name), ch))
319 return false;
320 fValue = ch == uint8_t{'1'};
321 return true;
322}
323
324bool CBlockTreeDB::ReadPAKList(std::vector<std::vector<unsigned char> >& offline_list, std::vector<std::vector<unsigned char> >& online_list, bool& reject)
325{

Callers 2

CheckLegacyTxindexFunction · 0.80
LoadBlockIndexDBMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected