Writes a derived extended public key into a descriptor's cache.

Synopsis

Declared in <wallet/walletdb.h>

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

Return Value

true if the record was written.

Parameters

Name

Description

xpub

The extended public key to cache.

desc_id

The identifier of the descriptor.

key_exp_index

The key expression index within the descriptor.

der_index

The derivation index of the cached key.

Created with MrDocs