Outcome of building a new transaction, bundling the transaction with its fee details.

Synopsis

Declared in <wallet/types.h>

struct CreatedTransactionResult;

Member Functions

Name

Description

CreatedTransactionResult [constructor]

Construct a result from the transaction, its fee, the change output position, and the fee reason.

Data Members

Name

Description

change_pos

Position of the change output in the transaction, if a change output was created.

fee

The fee paid by the transaction.

fee_reason

The reason the transaction's fee rate was chosen.

tx

The newly created transaction.

Non-Member Functions

Name

Description

CreateTransaction

Create a new transaction paying the recipients with a set of coins selected by SelectCoins(); Also create the change output, when needed

FundTransaction

Insert additional inputs into the transaction by calling CreateTransaction();

Created with MrDocs