Bitcoin ABC 0.30.7
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
 
PrecomputedTransactionDataoperator= (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 325 of file transaction.h.

Constructor & Destructor Documentation

◆ PrecomputedTransactionData() [1/3]

PrecomputedTransactionData::PrecomputedTransactionData ( )
inline

Definition at line 328 of file transaction.h.

◆ PrecomputedTransactionData() [2/3]

PrecomputedTransactionData::PrecomputedTransactionData ( const PrecomputedTransactionData txdata)
default

◆ PrecomputedTransactionData() [3/3]

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

Definition at line 1496 of file interpreter.cpp.

Member Function Documentation

◆ operator=()

PrecomputedTransactionData & PrecomputedTransactionData::operator= ( const PrecomputedTransactionData txdata)
default

Member Data Documentation

◆ hashOutputs

uint256 PrecomputedTransactionData::hashOutputs

Definition at line 326 of file transaction.h.

◆ hashPrevouts

uint256 PrecomputedTransactionData::hashPrevouts

Definition at line 326 of file transaction.h.

◆ hashSequence

uint256 PrecomputedTransactionData::hashSequence

Definition at line 326 of file transaction.h.


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