Construct a wallet transaction by deserializing it, merging any witness variants.
Declared in <wallet/transaction.h>
template<typename Stream>
CWalletTx(
deserialize_type type,
Stream& s,
std::map<Wtxid, CTransactionRef> const& variants);
| Name | Description |
|---|---|
| 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. |