Constructors

Synopses

Declared in <psbt.h>

Construct a PSBT wrapping the given transaction.

explicit
PartiallySignedTransaction(
    CMutableTransaction const& tx,
    uint32_t version = 2);

Construct a PSBT by deserializing it from a stream.

template<typename Stream>
PartiallySignedTransaction(
    deserialize_type dtag,
    Stream& s);

Parameters

Name

Description

tx

The transaction to wrap.

version

The PSBT version to use.

dtag

Tag selecting the deserializing constructor.

s

The input stream.

Created with MrDocs