Descriptor::GetPubKeys

Return all (extended) public keys for this descriptor, including any from subdescriptors.

Synopsis

Declared in <script/descriptor.h>

virtual
void
GetPubKeys(
    std::set<CPubKey>& pubkeys,
    std::set<CExtPubKey>& ext_pubs) const = 0;

Return Value

all (extended) public keys for this descriptor, including any from subdescriptors.

Parameters

NameDescription
pubkeys [out]Any public keys
ext_pubs [out]Any extended public keys