Writes an unencrypted descriptor private key.
Declared in <wallet/walletdb.h>
bool
WriteDescriptorKey(
uint256 const& desc_id,
CPubKey const& pubkey,
CPrivKey const& privkey);
true if the record was written.
| Name | Description |
|---|---|
| desc_id | The identifier of the descriptor. |
| pubkey | The public key. |
| privkey | The corresponding private key. |