| 71 | } |
| 72 | |
| 73 | bool WalletBatch::EraseName(const std::string& strAddress) |
| 74 | { |
| 75 | // This should only be used for sending addresses, never for receiving addresses, |
| 76 | // receiving addresses must always have an address book entry if they're not change return. |
| 77 | return EraseIC(std::make_pair(DBKeys::NAME, strAddress)); |
| 78 | } |
| 79 | |
| 80 | bool WalletBatch::WritePurpose(const std::string& strAddress, const std::string& strPurpose) |
| 81 | { |