Writes a master key used to encrypt wallet keys.
Declared in <wallet/walletdb.h>
bool
WriteMasterKey(
unsigned int nID,
CMasterKey const& kMasterKey);
true if the record was written.
| Name | Description |
|---|---|
| nID | The identifier of the master key. |
| kMasterKey | The master key to store. |