Bitcoin ABC  0.22.15
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
PrecomputedTransactionData Struct Reference

Precompute sighash midstate to avoid quadratic hashing. More...

#include <transaction.h>

Collaboration diagram for PrecomputedTransactionData:
[legend]

Public Member Functions

 PrecomputedTransactionData ()
 
 PrecomputedTransactionData (const PrecomputedTransactionData &txdata)=default
 
template<class T >
 PrecomputedTransactionData (const T &tx)
 

Public Attributes

uint256 hashPrevouts
 
uint256 hashSequence
 
uint256 hashOutputs
 

Detailed Description

Precompute sighash midstate to avoid quadratic hashing.

Definition at line 329 of file transaction.h.

Constructor & Destructor Documentation

◆ PrecomputedTransactionData() [1/3]

PrecomputedTransactionData::PrecomputedTransactionData ( )
inline

Definition at line 332 of file transaction.h.

Here is the caller graph for this function:

◆ PrecomputedTransactionData() [2/3]

PrecomputedTransactionData::PrecomputedTransactionData ( const PrecomputedTransactionData txdata)
default

◆ PrecomputedTransactionData() [3/3]

template<class T >
PrecomputedTransactionData::PrecomputedTransactionData ( const T &  tx)
explicit

Definition at line 1553 of file interpreter.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ hashOutputs

uint256 PrecomputedTransactionData::hashOutputs

Definition at line 330 of file transaction.h.

◆ hashPrevouts

uint256 PrecomputedTransactionData::hashPrevouts

Definition at line 330 of file transaction.h.

◆ hashSequence

uint256 PrecomputedTransactionData::hashSequence

Definition at line 330 of file transaction.h.


The documentation for this struct was generated from the following files: