Cached transaction data reused across signature‐hash computations for a single transaction.
Synopsis
Declared in <script/interpreter.h>
struct PrecomputedTransactionData;
Member Functions
Name |
Description |
|
Constructors |
Initialize this PrecomputedTransactionData with transaction data. |
Data Members
Name |
Description |
BIP143 double‐SHA256 hash of all outputs. |
|
BIP143 double‐SHA256 hash of all input prevouts. |
|
BIP143 double‐SHA256 hash of all input sequences. |
|
Whether the 3 fields above are initialized. |
|
Whether the 5 fields above are initialized. |
|
BIP341 single‐SHA256 hash of all outputs. |
|
BIP341 single‐SHA256 hash of all input prevouts. |
|
BIP341 single‐SHA256 hash of all input sequences. |
|
BIP341 single‐SHA256 hash of all spent output amounts. |
|
The outputs being spent by this transaction, one per input. |
|
Whether m_spent_outputs is initialized. |
|
BIP341 single‐SHA256 hash of all spent output scriptPubKeys. |
Non-Member Functions
Name |
Description |
Compute a PrecomputedTransactionData object from a psbt. |
Created with MrDocs