wallet::PushParentDescriptors

Fetch parent descriptors of this scriptPubKey.

Synopsis

Declared in <wallet/rpc/util.h>

void
PushParentDescriptors(
    CWallet const& wallet,
    CScript const& script_pubkey,
    UniValue& entry);

Parameters

NameDescription
walletThe wallet to look up descriptors in.
script_pubkeyThe output script whose parent descriptors are fetched.
entryThe RPC object the parent descriptors are added to.