MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / EraseDestData

Method EraseDestData

src/wallet/wallet.cpp:3912–3917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3910}
3911
3912bool CWallet::EraseDestData(const CTxDestination &dest, const std::string &key)
3913{
3914 if (!mapAddressBook[dest].destdata.erase(key))
3915 return false;
3916 return WalletBatch(*database).EraseDestData(EncodeDestination(dest), key);
3917}
3918
3919void CWallet::LoadDestData(const CTxDestination &dest, const std::string &key, const std::string &value)
3920{

Callers 2

DelAddressBookMethod · 0.45
eraseDestDataMethod · 0.45

Calls 3

WalletBatchClass · 0.85
EncodeDestinationFunction · 0.85
eraseMethod · 0.45

Tested by

no test coverage detected