[Qt] Permanently store requested payments in wallet

This commit is contained in:
Cozz Lovan
2014-01-14 05:05:43 +01:00
parent b10e147096
commit 8476d5d407
5 changed files with 142 additions and 4 deletions

View File

@@ -2023,6 +2023,9 @@ void CWallet::GetKeyBirthTimes(std::map<CKeyID, int64_t> &mapKeyBirth) const {
bool CWallet::AddDestData(const CTxDestination &dest, const std::string &key, const std::string &value)
{
if (boost::get<CNoDestination>(&dest))
return false;
mapAddressBook[dest].destdata.insert(std::make_pair(key, value));
if (!fFileBacked)
return true;