wallet::LegacyDataSPKM::GetKey

Retrieves the private key for the given address into keyOut.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

virtual
bool
GetKey(
    CKeyID const& address,
    CKey& keyOut) const override;

Return Value

true if the private key was found.

Parameters

NameDescription
addressThe key id to look up.
keyOutFilled with the found private key.