Retrieve a cached last hardened xpub

Synopsis

Declared in <script/descriptor.h>

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

Return Value

Whether a last hardened xpub was cached at that position.

Parameters

Name

Description

key_exp_pos [in]

Position of the key expression within the descriptor

xpub [out]

The CExtPubKey to get from cache

Created with MrDocs