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

A version of CTransaction with the PSBT format. More...

#include <sign.h>

Public Member Functions

bool IsNull () const
 
void Merge (const PartiallySignedTransaction &psbt)
 
bool IsSane () const
 
 PartiallySignedTransaction ()
 
 PartiallySignedTransaction (const PartiallySignedTransaction &psbt_in)
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 
template<typename Stream >
 PartiallySignedTransaction (deserialize_type, Stream &s)
 

Public Attributes

boost::optional< CMutableTransactiontx
 
std::vector< PSBTInputinputs
 
std::vector< PSBTOutputoutputs
 
std::map< std::vector< unsigned char >, std::vector< unsigned char > > unknown
 

Friends

bool operator== (const PartiallySignedTransaction &a, const PartiallySignedTransaction &b)
 
bool operator!= (const PartiallySignedTransaction &a, const PartiallySignedTransaction &b)
 

Detailed Description

A version of CTransaction with the PSBT format.

Definition at line 557 of file sign.h.

Constructor & Destructor Documentation

◆ PartiallySignedTransaction() [1/3]

PartiallySignedTransaction::PartiallySignedTransaction ( )
inline

Definition at line 567 of file sign.h.

◆ PartiallySignedTransaction() [2/3]

PartiallySignedTransaction::PartiallySignedTransaction ( const PartiallySignedTransaction psbt_in)
inline

Definition at line 568 of file sign.h.

◆ PartiallySignedTransaction() [3/3]

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

Definition at line 720 of file sign.h.

Here is the call graph for this function:

Member Function Documentation

◆ IsNull()

bool PartiallySignedTransaction::IsNull ( ) const

Definition at line 516 of file sign.cpp.

◆ IsSane()

bool PartiallySignedTransaction::IsSane ( ) const

Definition at line 532 of file sign.cpp.

Here is the caller graph for this function:

◆ Merge()

void PartiallySignedTransaction::Merge ( const PartiallySignedTransaction psbt)

Definition at line 521 of file sign.cpp.

Here is the caller graph for this function:

◆ Serialize()

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

Definition at line 581 of file sign.h.

◆ Unserialize()

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

Definition at line 614 of file sign.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const PartiallySignedTransaction a,
const PartiallySignedTransaction b 
)
friend

Definition at line 575 of file sign.h.

◆ operator==

bool operator== ( const PartiallySignedTransaction a,
const PartiallySignedTransaction b 
)
friend

Definition at line 571 of file sign.h.

Member Data Documentation

◆ inputs

std::vector<PSBTInput> PartiallySignedTransaction::inputs

Definition at line 560 of file sign.h.

◆ outputs

std::vector<PSBTOutput> PartiallySignedTransaction::outputs

Definition at line 561 of file sign.h.

◆ tx

boost::optional<CMutableTransaction> PartiallySignedTransaction::tx

Definition at line 559 of file sign.h.

◆ unknown

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

Definition at line 562 of file sign.h.


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