CMutableTransaction::CMutableTransaction

Constructors

Synopses

Declared in <primitives/transaction.h>

Constructs an empty transaction with the default version.

explicit
CMutableTransaction();
» more...

Constructs a mutable copy of an existing transaction.

explicit
CMutableTransaction(CTransaction const& tx);
» more...

Constructs a transaction by deserializing from a stream.

template<typename Stream>
CMutableTransaction(
    deserialize_type tag,
    Stream& s);
» more...

Constructs a transaction by deserializing with explicit parameters.

template<typename Stream>
CMutableTransaction(
    deserialize_type tag,
    TransactionSerParams const& params,
    Stream& s);
» more...

Parameters

NameDescription
txThe transaction to copy from.
tagTag selecting the deserializing constructor.
sThe stream to read from.
paramsParameters controlling whether witness data is read.