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

Method WriteFlag

src/node/blockstorage.cpp:105–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void BlockTreeDB::WriteFlag(const std::string& name, bool fValue)
106{
107 Write(std::make_pair(DB_FLAG, name), fValue ? uint8_t{'1'} : uint8_t{'0'});
108}
109
110bool BlockTreeDB::ReadFlag(const std::string& name, bool& fValue)
111{

Callers 2

FlushStateToDiskMethod · 0.80
block_index.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected