[#DescriptorCache]
= DescriptorCache
:mrdocs:

Cache for single descriptor&apos;s derived extended pubkeys

== Synopsis

Declared in `&lt;script&sol;descriptor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class DescriptorCache;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:DescriptorCache/CacheDerivedExtPubKey.adoc[`CacheDerivedExtPubKey`] 
| Cache an xpub derived at an index
| xref:DescriptorCache/CacheLastHardenedExtPubKey.adoc[`CacheLastHardenedExtPubKey`] 
| Cache a last hardened xpub
| xref:DescriptorCache/CacheParentExtPubKey.adoc[`CacheParentExtPubKey`] 
| Cache a parent xpub
| xref:DescriptorCache/GetCachedDerivedExtPubKey.adoc[`GetCachedDerivedExtPubKey`] 
| Retrieve a cached xpub derived at an index
| xref:DescriptorCache/GetCachedDerivedExtPubKeys.adoc[`GetCachedDerivedExtPubKeys`] 
| Retrieve all cached derived xpubs
| xref:DescriptorCache/GetCachedLastHardenedExtPubKey.adoc[`GetCachedLastHardenedExtPubKey`] 
| Retrieve a cached last hardened xpub
| xref:DescriptorCache/GetCachedLastHardenedExtPubKeys.adoc[`GetCachedLastHardenedExtPubKeys`] 
| Retrieve all cached last hardened xpubs
| xref:DescriptorCache/GetCachedParentExtPubKey.adoc[`GetCachedParentExtPubKey`] 
| Retrieve a cached parent xpub
| xref:DescriptorCache/GetCachedParentExtPubKeys.adoc[`GetCachedParentExtPubKeys`] 
| Retrieve all cached parent xpubs
| xref:DescriptorCache/MergeAndDiff.adoc[`MergeAndDiff`] 
| Combine another DescriptorCache into this one&period; Returns a cache containing the items from the other cache unknown to current cache
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
