DescriptorCache::GetCachedParentExtPubKey

Retrieve a cached parent xpub

Synopsis

Declared in <script/descriptor.h>

bool
GetCachedParentExtPubKey(
    uint32_t key_exp_pos,
    CExtPubKey& xpub) const;

Return Value

Whether a parent xpub was cached at that position.

Parameters

NameDescription
key_exp_pos [in]Position of the key expression within the descriptor
xpub [out]The CExtPubKey to get from cache