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

Name

Description

wallet

The wallet used to walk back through parent transactions.

outpoint

The outpoint whose non‐change parent output is sought.

Created with MrDocs