| 240 | } |
| 241 | |
| 242 | bool 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 | |
| 250 | bool CBlockTreeDB::LoadBlockIndexGuts(const Consensus::Params& consensusParams, std::function<CBlockIndex*(const uint256&)> insertBlockIndex) |
| 251 | { |
no outgoing calls
no test coverage detected