| 78 | return Write(dbk::GenDbKey(dbk::BLOCKFILE_NUM_INFO, nFile), info); |
| 79 | } |
| 80 | bool CBlockIndexDB::ReadBlockFileInfo(int32_t nFile, CBlockFileInfo &info) { |
| 81 | return Read(dbk::GenDbKey(dbk::BLOCKFILE_NUM_INFO, nFile), info); |
| 82 | } |
| 83 | |
| 84 | CBlockIndex *InsertBlockIndex(uint256 hash) { |
| 85 | if (hash.IsNull()) |
no test coverage detected