DescriptorCache

Cache for single descriptor's derived extended pubkeys

Synopsis

Declared in <script/descriptor.h>

class DescriptorCache;

Member Functions

NameDescription
CacheDerivedExtPubKey Cache an xpub derived at an index
CacheLastHardenedExtPubKey Cache a last hardened xpub
CacheParentExtPubKey Cache a parent xpub
GetCachedDerivedExtPubKey Retrieve a cached xpub derived at an index
GetCachedDerivedExtPubKeys Retrieve all cached derived xpubs
GetCachedLastHardenedExtPubKey Retrieve a cached last hardened xpub
GetCachedLastHardenedExtPubKeys Retrieve all cached last hardened xpubs
GetCachedParentExtPubKey Retrieve a cached parent xpub
GetCachedParentExtPubKeys Retrieve all cached parent xpubs
MergeAndDiff Combine another DescriptorCache into this one. Returns a cache containing the items from the other cache unknown to current cache