DescriptorCache::CacheDerivedExtPubKey

Cache an xpub derived at an index

Synopsis

Declared in <script/descriptor.h>

void
CacheDerivedExtPubKey(
    uint32_t key_exp_pos,
    uint32_t der_index,
    CExtPubKey const& xpub);

Parameters

NameDescription
key_exp_pos [in]Position of the key expression within the descriptor
der_index [in]Derivation index of the xpub
xpub [in]The CExtPubKey to cache