| 106 | } |
| 107 | |
| 108 | bool WalletBatch::EraseWatchOnly(const CScript &dest) |
| 109 | { |
| 110 | if (!EraseIC(std::make_pair(std::string("watchmeta"), dest))) { |
| 111 | return false; |
| 112 | } |
| 113 | return EraseIC(std::make_pair(std::string("watchs"), dest)); |
| 114 | } |
| 115 | |
| 116 | bool WalletBatch::WriteBestBlock(const CBlockLocator& locator) |
| 117 | { |