wallet::FindNonChangeParentOutput

Find non-change parent output.

Synopsis

Declared in <wallet/spend.h>

[[requires_capability(0x7f2e1e652df8)]]
CTxOut const&
FindNonChangeParentOutput(
    CWallet const& wallet,
    COutPoint const& outpoint);

Return Value

The first non-change parent output reached from the outpoint.

Parameters

NameDescription
walletThe wallet used to walk back through parent transactions.
outpointThe outpoint whose non-change parent output is sought.