[#Descriptor-ExpandFromCache] = xref:Descriptor.adoc[Descriptor]::ExpandFromCache :relfileprefix: ../ :mrdocs: Expand a descriptor at a specified position using cached expansion data. == Synopsis Declared in `<script/descriptor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool ExpandFromCache( int pos, xref:DescriptorCache.adoc[DescriptorCache] const& read_cache, std::vector<CScript>& output_scripts, xref:FlatSigningProvider.adoc[FlatSigningProvider]& out) const = 0; ---- == Return Value True if the descriptor could be expanded from the cache. == Parameters [cols="1,4"] |=== | Name| Description | *pos* [in] | The position at which to expand the descriptor. If IsRange() is false, this is ignored. | *read_cache* [in] | Cached expansion data. | *output_scripts* [out] | The expanded scriptPubKeys. | *out* [out] | Scripts and public keys necessary for solving the expanded scriptPubKeys (may be equal to `provider`). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#