Constructors
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...
| Name | Description |
|---|---|
| tx | The transaction to copy from. |
| tag | Tag selecting the deserializing constructor. |
| s | The stream to read from. |
| params | Parameters controlling whether witness data is read. |