MCPcopy Create free account
hub / github.com/ElementsProject/elements / EraseName

Method EraseName

src/wallet/walletdb.cpp:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool 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
80bool WalletBatch::WritePurpose(const std::string& strAddress, const std::string& strPurpose)
81{

Callers 1

DelAddressBookMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected