Constructors
Declared in <wallet/transaction.h>
Deleted copy constructor; CWalletTx objects must not be copied.
CWalletTx(CWalletTx const& other) = delete;
» more...
Enable the default move constructor.
constexpr
CWalletTx(CWalletTx&& other) = default;
» more...
Construct a wallet transaction from a transaction reference and its state.
CWalletTx(
CTransactionRef tx,
TxState const& state);
» more...
Construct a wallet transaction by deserializing it, merging any witness variants.
template<typename Stream>
CWalletTx(
deserialize_type type,
Stream& s,
std::map<Wtxid, CTransactionRef> const& variants);
» more...
| Name | Description |
|---|---|
| other | The wallet transaction to move from. |
| tx | The transaction reference to wrap. |
| state | The initial confirmation state of the transaction. |
| type | Tag selecting the deserializing constructor overload. |
| s | The input stream to deserialize the transaction from. |
| variants | Additional witness variants to merge, keyed by witness txid. |