Constructors
Synopses
Declared in <primitives/transaction.h>
Constructs an empty transaction with the default version.
explicit
CMutableTransaction();
Constructs a mutable copy of an existing transaction.
explicit
CMutableTransaction(CTransaction const& tx);
Constructs a transaction by deserializing from a stream.
template<typename Stream>
CMutableTransaction(
deserialize_type tag,
Stream& s);
Constructs a transaction by deserializing with explicit parameters.
template<typename Stream>
CMutableTransaction(
deserialize_type tag,
TransactionSerParams const& params,
Stream& s);
Parameters
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. |
Created with MrDocs