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

Holds the results of AnalyzePSBT (miscellaneous information about a PSBT) More...

#include <psbt.h>

Public Member Functions

void SetInvalid (std::string err_msg)
 

Public Attributes

std::optional< size_t > estimated_vsize
 Estimated weight of the transaction. More...
 
std::optional< CFeeRateestimated_feerate
 Estimated feerate (fee / weight) of the transaction. More...
 
std::optional< Amountfee
 Amount of fee being paid by the transaction. More...
 
std::vector< PSBTInputAnalysisinputs
 More information about the individual inputs of the transaction. More...
 
PSBTRole next
 Which of the BIP 174 roles needs to handle the transaction next. More...
 
std::string error
 Error message. More...
 

Detailed Description

Holds the results of AnalyzePSBT (miscellaneous information about a PSBT)

Definition at line 34 of file psbt.h.

Member Function Documentation

◆ SetInvalid()

void PSBTAnalysis::SetInvalid ( std::string  err_msg)
inline

Definition at line 48 of file psbt.h.

Here is the caller graph for this function:

Member Data Documentation

◆ error

std::string PSBTAnalysis::error

Error message.

Definition at line 46 of file psbt.h.

◆ estimated_feerate

std::optional<CFeeRate> PSBTAnalysis::estimated_feerate

Estimated feerate (fee / weight) of the transaction.

Definition at line 38 of file psbt.h.

◆ estimated_vsize

std::optional<size_t> PSBTAnalysis::estimated_vsize

Estimated weight of the transaction.

Definition at line 36 of file psbt.h.

◆ fee

std::optional<Amount> PSBTAnalysis::fee

Amount of fee being paid by the transaction.

Definition at line 40 of file psbt.h.

◆ inputs

std::vector<PSBTInputAnalysis> PSBTAnalysis::inputs

More information about the individual inputs of the transaction.

Definition at line 42 of file psbt.h.

◆ next

PSBTRole PSBTAnalysis::next

Which of the BIP 174 roles needs to handle the transaction next.

Definition at line 44 of file psbt.h.


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