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

Method WritePurpose

src/wallet/walletdb.cpp:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool WalletBatch::WritePurpose(const std::string& strAddress, const std::string& strPurpose)
81{
82 return WriteIC(std::make_pair(DBKeys::PURPOSE, strAddress), strPurpose);
83}
84
85bool WalletBatch::ErasePurpose(const std::string& strAddress)
86{

Callers 1

SetAddressBookWithDBMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected