A version of CTransaction with the PSBT format
Synopsis
Declared in <psbt.h>
class PartiallySignedTransaction;
Member Functions
Name |
Description |
|
Constructors |
Append a new input to this transaction. |
|
Append a new output to this transaction. |
|
Compute the effective locktime from the inputs and fallback. |
|
Compute a stable identifier for this PSBT's underlying transaction. |
|
Reconstruct the unsigned transaction described by this PSBT. |
|
Return the PSBT version of this transaction. |
|
Merge psbt into this. The two psbts must have the same underlying CTransaction (i.e. the same actual Bitcoin transaction.) |
|
Merge the global xpubs of psbt into this, keeping the existing origin for an xpub seen again with a different one, as the serialized records are keyed by xpub. |
|
Serialize this transaction to a stream. |
|
Deserialize this transaction from a stream. |
Data Members
Name |
Description |
The fallback locktime used when no input requires one (PSBTv2). |
|
Per‐input PSBT data. |
|
Proprietary global key‐value records. |
|
Flags describing which parts of the transaction may still be modified. |
|
Global extended public keys, mapping key origin to the set of extended keys sharing it. |
|
Per‐output PSBT data. |
|
The transaction version (PSBTv2). |
|
Unknown global key‐value pairs preserved across round‐trips. |
Non-Member Functions
Name |
Description |
Combines PSBTs with the same underlying transaction, resulting in a single PSBT with all partial signatures from each input. |
|
Counts the unsigned inputs of a PSBT. |
|
Decode a base64‐encoded PSBT into a PartiallySignedTransaction. |
|
Decode a raw binary PSBT into a PartiallySignedTransaction. |
|
Finalizes a PSBT if possible, and extracts it to a CMutableTransaction if it could be finalized. |
|
Finalizes a PSBT if possible, combining partial signatures. |
|
Checks whether a PSBTInput is already signed by doing script verification using final fields. |
|
Compute a PrecomputedTransactionData object from a psbt. |
|
Reduces the size of the PSBT by dropping unnecessary |
|
Provides helpful miscellaneous information about where a PSBT is in the signing workflow. |
Created with MrDocs