wallet::CWalletTx::CWalletTx

Construct a wallet transaction by deserializing it, merging any witness variants.

Synopsis

Declared in <wallet/transaction.h>

template<typename Stream>
CWalletTx(
    deserialize_type type,
    Stream& s,
    std::map<Wtxid, CTransactionRef> const& variants);

Parameters

NameDescription
typeTag selecting the deserializing constructor overload.
sThe input stream to deserialize the transaction from.
variantsAdditional witness variants to merge, keyed by witness txid.