BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Public Member Functions | Public Attributes | List of all members
PSBTOutput Struct Reference

A structure for PSBTs which contains per output information. More...

#include <sign.h>

Collaboration diagram for PSBTOutput:
[legend]

Public Member Functions

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

Public Attributes

CScript redeem_script
 
CScript witness_script
 
std::map< CPubKey, KeyOriginInfohd_keypaths
 
std::map< std::vector< unsigned char >, std::vector< unsigned char > > unknown
 

Detailed Description

A structure for PSBTs which contains per output information.

Definition at line 444 of file sign.h.

Constructor & Destructor Documentation

◆ PSBTOutput() [1/2]

PSBTOutput::PSBTOutput ( )
inline

Definition at line 456 of file sign.h.

◆ PSBTOutput() [2/2]

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

Definition at line 551 of file sign.h.

Here is the call graph for this function:

Member Function Documentation

◆ FillSignatureData()

void PSBTOutput::FillSignatureData ( SignatureData sigdata) const

Definition at line 630 of file sign.cpp.

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

◆ FromSignatureData()

void PSBTOutput::FromSignatureData ( const SignatureData sigdata)

Definition at line 643 of file sign.cpp.

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

◆ IsNull()

bool PSBTOutput::IsNull ( ) const

Definition at line 656 of file sign.cpp.

Here is the call graph for this function:

◆ IsSane()

bool PSBTOutput::IsSane ( ) const

◆ Merge()

void PSBTOutput::Merge ( const PSBTOutput output)

Definition at line 661 of file sign.cpp.

Here is the call graph for this function:

◆ Serialize()

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

Definition at line 459 of file sign.h.

Here is the call graph for this function:

◆ Unserialize()

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

Definition at line 486 of file sign.h.

Here is the caller graph for this function:

Member Data Documentation

◆ hd_keypaths

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

Definition at line 448 of file sign.h.

◆ redeem_script

CScript PSBTOutput::redeem_script

Definition at line 446 of file sign.h.

◆ unknown

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

Definition at line 449 of file sign.h.

◆ witness_script

CScript PSBTOutput::witness_script

Definition at line 447 of file sign.h.


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