Evaluate a descriptor given as a string, or as a {"desc":...,"range":...} object, with default range of 1000.

Synopsis

Declared in <rpc/util.h>

std::vector<CScript>
EvalDescriptorStringOrObject(
    UniValue const& scanobject,
    FlatSigningProvider& provider,
    bool expand_priv = false);

Return Value

The scripts produced by the descriptor.

Parameters

Name

Description

scanobject

The descriptor string or object to evaluate.

provider

Signing provider that receives keys derived from the descriptor.

expand_priv

If true, expand private keys into the provider.

Created with MrDocs