Returns whether all of the inputs belong to the wallet

Synopsis

Declared in <wallet/receive.h>

bool
AllInputsMine(
    CWallet const& wallet,
    CTransaction const& tx);

Return Value

true if every input spends an output owned by the wallet.

Parameters

Name

Description

wallet

The wallet to check ownership against.

tx

The transaction whose inputs are checked.

Created with MrDocs