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

Method WriteKeyMetadata

src/wallet/walletdb.cpp:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100bool WalletBatch::WriteKeyMetadata(const CKeyMetadata& meta, const CPubKey& pubkey, const bool overwrite)
101{
102 return WriteIC(std::make_pair(DBKeys::KEYMETA, pubkey), meta, overwrite);
103}
104
105bool WalletBatch::WriteKey(const CPubKey& vchPubKey, const CPrivKey& vchPrivKey, const CKeyMetadata& keyMeta)
106{

Callers 2

UpgradeKeyMetadataMethod · 0.80
AddKeyOriginWithDBMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected