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

A structure for PSBTs which contain per-input information. More...

#include <psbt.h>

Collaboration diagram for PSBTInput:
[legend]

Public Member Functions

bool IsNull () const
 
void FillSignatureData (SignatureData &sigdata) const
 
void FromSignatureData (const SignatureData &sigdata)
 
void Merge (const PSBTInput &input)
 
 PSBTInput ()
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 
template<typename Stream >
 PSBTInput (deserialize_type, Stream &s)
 

Public Attributes

CTxOut utxo
 
CScript redeem_script
 
CScript final_script_sig
 
std::map< CPubKey, KeyOriginInfohd_keypaths
 
std::map< CKeyID, SigPairpartial_sigs
 
std::map< std::vector< uint8_t >, std::vector< uint8_t > > unknown
 
SigHashType sighash_type = SigHashType(0)
 

Detailed Description

A structure for PSBTs which contain per-input information.

Definition at line 45 of file psbt.h.

Constructor & Destructor Documentation

◆ PSBTInput() [1/2]

PSBTInput::PSBTInput ( )
inline

Definition at line 58 of file psbt.h.

◆ PSBTInput() [2/2]

template<typename Stream >
PSBTInput::PSBTInput ( deserialize_type  ,
Stream &  s 
)
inline

Definition at line 228 of file psbt.h.

Here is the call graph for this function:

Member Function Documentation

◆ FillSignatureData()

void PSBTInput::FillSignatureData ( SignatureData sigdata) const

Definition at line 72 of file psbt.cpp.

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

◆ FromSignatureData()

void PSBTInput::FromSignatureData ( const SignatureData sigdata)

Definition at line 90 of file psbt.cpp.

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

◆ IsNull()

bool PSBTInput::IsNull ( ) const

Definition at line 67 of file psbt.cpp.

Here is the call graph for this function:

◆ Merge()

void PSBTInput::Merge ( const PSBTInput input)

Definition at line 111 of file psbt.cpp.

Here is the call graph for this function:

◆ Serialize()

template<typename Stream >
void PSBTInput::Serialize ( Stream &  s) const
inline

Definition at line 60 of file psbt.h.

Here is the call graph for this function:

◆ Unserialize()

template<typename Stream >
void PSBTInput::Unserialize ( Stream &  s)
inline

Definition at line 106 of file psbt.h.

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

Member Data Documentation

◆ final_script_sig

CScript PSBTInput::final_script_sig

Definition at line 48 of file psbt.h.

◆ hd_keypaths

std::map<CPubKey, KeyOriginInfo> PSBTInput::hd_keypaths

Definition at line 49 of file psbt.h.

◆ partial_sigs

std::map<CKeyID, SigPair> PSBTInput::partial_sigs

Definition at line 50 of file psbt.h.

◆ redeem_script

CScript PSBTInput::redeem_script

Definition at line 47 of file psbt.h.

◆ sighash_type

SigHashType PSBTInput::sighash_type = SigHashType(0)

Definition at line 52 of file psbt.h.

◆ unknown

std::map<std::vector<uint8_t>, std::vector<uint8_t> > PSBTInput::unknown

Definition at line 51 of file psbt.h.

◆ utxo

CTxOut PSBTInput::utxo

Definition at line 46 of file psbt.h.


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