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

Method WriteFlag

src/persistence/blockdb.cpp:174–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174bool CBlockDBCache::WriteFlag(const string &name, bool fValue) {
175 return flag_cache.SetData(name, fValue);
176}
177bool CBlockDBCache::ReadFlag(const string &name, bool &fValue) {
178 return flag_cache.GetData(name, fValue);
179}

Callers 1

InitBlockIndexFunction · 0.80

Calls 1

SetDataMethod · 0.45

Tested by

no test coverage detected