| 2910 | } |
| 2911 | |
| 2912 | bool CWallet::SetAddressReceiveRequest(WalletBatch& batch, const CTxDestination& dest, const std::string& id, const std::string& value) |
| 2913 | { |
| 2914 | if (!batch.WriteAddressReceiveRequest(dest, id, value)) return false; |
| 2915 | m_address_book[dest].receive_requests[id] = value; |
| 2916 | return true; |
| 2917 | } |
| 2918 | |
| 2919 | bool CWallet::EraseAddressReceiveRequest(WalletBatch& batch, const CTxDestination& dest, const std::string& id) |
| 2920 | { |