Holds the virtual size and weight of a transaction.

Synopsis

Declared in <wallet/spend.h>

struct TxSize;

Data Members

Name

Description

vsize

The transaction's virtual size in vbytes.

weight

The transaction's weight units.

Non-Member Functions

Name

Description

CalculateMaximumSignedTxSize

Calculate the size of the transaction using CoinControl to determine whether to expect signature grinding when calculating the size of the input spend.

CalculateMaximumSignedTxSize

Calculate the size of the transaction, looking up previous outputs from the wallet.

Created with MrDocs