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

#include <sign.h>

Collaboration diagram for SignatureData:
[legend]

Public Member Functions

 SignatureData ()
 
 SignatureData (const CScript &script)
 
void MergeSignatureData (SignatureData sigdata)
 

Public Attributes

bool complete = false
 Stores whether the scriptSig are complete. More...
 
CScript scriptSig
 The scriptSig of an input. More...
 
CScript redeem_script
 The redeemScript (if any) for the input. More...
 
std::map< CKeyID, SigPairsignatures
 BIP 174 style partial signatures for the input. More...
 
std::map< CKeyID, std::pair< CPubKey, KeyOriginInfo > > misc_pubkeys
 
std::vector< CKeyIDmissing_pubkeys
 KeyIDs of pubkeys which could not be found. More...
 
std::vector< CKeyIDmissing_sigs
 KeyIDs of pubkeys for signatures which could not be found. More...
 
uint160 missing_redeem_script
 ScriptID of the missing redeemScript (if any) More...
 

Detailed Description

Definition at line 66 of file sign.h.

Constructor & Destructor Documentation

◆ SignatureData() [1/2]

SignatureData::SignatureData ( )
inline

Definition at line 85 of file sign.h.

◆ SignatureData() [2/2]

SignatureData::SignatureData ( const CScript script)
inlineexplicit

Definition at line 86 of file sign.h.

Member Function Documentation

◆ MergeSignatureData()

void SignatureData::MergeSignatureData ( SignatureData  sigdata)

Definition at line 334 of file sign.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ complete

bool SignatureData::complete = false

Stores whether the scriptSig are complete.

Definition at line 68 of file sign.h.

◆ misc_pubkeys

std::map<CKeyID, std::pair<CPubKey, KeyOriginInfo> > SignatureData::misc_pubkeys

Definition at line 77 of file sign.h.

◆ missing_pubkeys

std::vector<CKeyID> SignatureData::missing_pubkeys

KeyIDs of pubkeys which could not be found.

Definition at line 79 of file sign.h.

◆ missing_redeem_script

uint160 SignatureData::missing_redeem_script

ScriptID of the missing redeemScript (if any)

Definition at line 83 of file sign.h.

◆ missing_sigs

std::vector<CKeyID> SignatureData::missing_sigs

KeyIDs of pubkeys for signatures which could not be found.

Definition at line 81 of file sign.h.

◆ redeem_script

CScript SignatureData::redeem_script

The redeemScript (if any) for the input.

Definition at line 73 of file sign.h.

◆ scriptSig

CScript SignatureData::scriptSig

The scriptSig of an input.

Contains complete signatures or the traditional partial signatures format.

Definition at line 71 of file sign.h.

◆ signatures

std::map<CKeyID, SigPair> SignatureData::signatures

BIP 174 style partial signatures for the input.

May contain all signatures necessary for producing a final scriptSig.

Definition at line 76 of file sign.h.


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