wallet::TxSize

Holds the virtual size and weight of a transaction.

Synopsis

Declared in <wallet/spend.h>

struct TxSize;

Data Members

NameDescription
vsize The transaction's virtual size in vbytes.
weight The transaction's weight units.

Non-Member Functions

NameDescription
CalculateMaximumSignedTxSizeCalculate the size of the transaction using CoinControl to determine whether to expect signature grinding when calculating the size of the input spend.
CalculateMaximumSignedTxSizeCalculate the size of the transaction, looking up previous outputs from the wallet.