wallet::WalletBatch::WriteDescriptorLastHardenedCache

Writes the last hardened extended public key into a descriptor's cache.

Synopsis

Declared in <wallet/walletdb.h>

bool
WriteDescriptorLastHardenedCache(
    CExtPubKey const& xpub,
    uint256 const& desc_id,
    uint32_t key_exp_index);

Return Value

true if the record was written.

Parameters

NameDescription
xpubThe extended public key to cache.
desc_idThe identifier of the descriptor.
key_exp_indexThe key expression index within the descriptor.