Descriptor::ExpandFromCache

Expand a descriptor at a specified position using cached expansion data.

Synopsis

Declared in <script/descriptor.h>

virtual
bool
ExpandFromCache(
    int pos,
    DescriptorCache const& read_cache,
    std::vector<CScript>& output_scripts,
    FlatSigningProvider& out) const = 0;

Return Value

True if the descriptor could be expanded from the cache.

Parameters

NameDescription
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).