Bitcoin Core  0.20.99
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

CTransactionRef non_witness_utxo
 
CTxOut witness_utxo
 
CScript redeem_script
 
CScript witness_script
 
CScript final_script_sig
 
CScriptWitness final_script_witness
 
std::map< CPubKey, KeyOriginInfohd_keypaths
 
std::map< CKeyID, SigPairpartial_sigs
 
std::map< std::vector< unsigned char >, std::vector< unsigned char > > unknown
 
int sighash_type = 0
 

Detailed Description

A structure for PSBTs which contain per-input information.

Definition at line 48 of file psbt.h.

Constructor & Destructor Documentation

◆ PSBTInput() [1/2]

PSBTInput::PSBTInput ( )
inline

Definition at line 65 of file psbt.h.

◆ PSBTInput() [2/2]

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

Definition at line 269 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 80 of file psbt.cpp.

Here is the caller graph for this function:

◆ FromSignatureData()

void PSBTInput::FromSignatureData ( const SignatureData sigdata)

Definition at line 106 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 75 of file psbt.cpp.

◆ Merge()

void PSBTInput::Merge ( const PSBTInput input)

Definition at line 135 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 68 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 131 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 54 of file psbt.h.

◆ final_script_witness

CScriptWitness PSBTInput::final_script_witness

Definition at line 55 of file psbt.h.

◆ hd_keypaths

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

Definition at line 56 of file psbt.h.

◆ non_witness_utxo

CTransactionRef PSBTInput::non_witness_utxo

Definition at line 50 of file psbt.h.

◆ partial_sigs

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

Definition at line 57 of file psbt.h.

◆ redeem_script

CScript PSBTInput::redeem_script

Definition at line 52 of file psbt.h.

◆ sighash_type

int PSBTInput::sighash_type = 0

Definition at line 59 of file psbt.h.

◆ unknown

std::map<std::vector<unsigned char>, std::vector<unsigned char> > PSBTInput::unknown

Definition at line 58 of file psbt.h.

◆ witness_script

CScript PSBTInput::witness_script

Definition at line 53 of file psbt.h.

◆ witness_utxo

CTxOut PSBTInput::witness_utxo

Definition at line 51 of file psbt.h.


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