Writes metadata for a key.
Declared in <wallet/walletdb.h>
bool
WriteKeyMetadata(
CKeyMetadata const& meta,
CPubKey const& pubkey,
bool overwrite);
true if the record was written.
| Name | Description |
|---|---|
| meta | The key metadata to store. |
| pubkey | The public key the metadata applies to. |
| overwrite | Whether to overwrite an existing record. |