GetDebit overloads

Synopses

Declared in <wallet/wallet.h>

Compute the total amount debited from this wallet by a transaction's inputs.

CAmount
GetDebit(CTransaction const& tx) const;

Returns amount of debit, i.e. the amount leaving this wallet due to this input

CAmount
GetDebit(CTxIn const& txin) const;

Return Value

  • The total debit amount.

  • The amount debited from the wallet by this input.

Parameters

Name

Description

tx

The transaction to value.

txin

The transaction input to value.

Created with MrDocs