Constructors
Synopses
Declared in <psbt.h>
Construct an output for the given PSBT version, amount, and script.
explicit
PSBTOutput(
uint32_t psbt_version,
CAmount amount,
CScript const& script);
Construct an output by deserializing it from a stream (PSBTv2).
template<typename Stream>
explicit
PSBTOutput(
deserialize_type dtag,
Stream& s,
uint32_t psbt_version);
Parameters
Name |
Description |
psbt_version |
The PSBT version (0 or 2). |
amount |
The output amount. |
script |
The output script. |
dtag |
Tag selecting the deserializing constructor. |
s |
The input stream. |
Created with MrDocs