MCPcopy Create free account
hub / github.com/LUX-Core/lux / WriteFlag

Method WriteFlag

src/txdb.cpp:470–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470bool CBlockTreeDB::WriteFlag(const std::string& name, bool fValue)
471{
472 return Write(std::make_pair(DB_FLAG, name), fValue ? '1' : '0');
473}
474
475bool CBlockTreeDB::ReadFlag(const std::string& name, bool& fValue)
476{

Callers 6

PrepareShutdownFunction · 0.80
AppInit2Function · 0.80
FlushStateToDiskFunction · 0.80
LoadBlockIndexDBFunction · 0.80
LoadBlockIndexFunction · 0.80
InitBlockIndexFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected