| 176 | } |
| 177 | |
| 178 | bool WalletBatch::ReadBestBlock(CBlockLocator& locator) |
| 179 | { |
| 180 | if (m_batch->Read(DBKeys::BESTBLOCK, locator) && !locator.vHave.empty()) return true; |
| 181 | return m_batch->Read(DBKeys::BESTBLOCK_NOMERKLE, locator); |
| 182 | } |
| 183 | |
| 184 | bool WalletBatch::WriteOrderPosNext(int64_t nOrderPosNext) |
| 185 | { |
no test coverage detected