wallet::WalletBatch::WriteDescriptor

Writes a wallet descriptor.

Synopsis

Declared in <wallet/walletdb.h>

bool
WriteDescriptor(
    uint256 const& desc_id,
    WalletDescriptor const& descriptor);

Return Value

true if the record was written.

Parameters

NameDescription
desc_idThe identifier of the descriptor.
descriptorThe descriptor to store.