| 170 | } |
| 171 | |
| 172 | bool WalletBatch::WriteBestBlock(const CBlockLocator& locator) |
| 173 | { |
| 174 | WriteIC(DBKeys::BESTBLOCK, CBlockLocator()); // Write empty block locator so versions that require a merkle branch automatically rescan |
| 175 | return WriteIC(DBKeys::BESTBLOCK_NOMERKLE, locator); |
| 176 | } |
| 177 | |
| 178 | bool WalletBatch::ReadBestBlock(CBlockLocator& locator) |
| 179 | { |
no test coverage detected