Writes a master key used to encrypt wallet keys.

Synopsis

Declared in <wallet/walletdb.h>

bool
WriteMasterKey(
    unsigned int nID,
    CMasterKey const& kMasterKey);

Return Value

true if the record was written.

Parameters

Name

Description

nID

The identifier of the master key.

kMasterKey

The master key to store.

Created with MrDocs