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

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.

Created with MrDocs