Writes an encrypted descriptor private key.
Declared in <wallet/walletdb.h>
bool
WriteCryptedDescriptorKey(
uint256 const& desc_id,
CPubKey const& pubkey,
std::vector<unsigned char> const& secret);
true if the record was written.
| Name | Description |
|---|---|
| desc_id | The identifier of the descriptor. |
| pubkey | The public key. |
| secret | The encrypted private key material. |