| 314 | } |
| 315 | |
| 316 | bool 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 | |
| 324 | bool CBlockTreeDB::ReadPAKList(std::vector<std::vector<unsigned char> >& offline_list, std::vector<std::vector<unsigned char> >& online_list, bool& reject) |
| 325 | { |
no outgoing calls
no test coverage detected