Bitcoin Core  22.99.0
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< CAmountfee
 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 29 of file psbt.h.

Member Function Documentation

◆ SetInvalid()

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

Definition at line 37 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 35 of file psbt.h.

◆ estimated_feerate

std::optional<CFeeRate> PSBTAnalysis::estimated_feerate

Estimated feerate (fee / weight) of the transaction.

Definition at line 31 of file psbt.h.

◆ estimated_vsize

std::optional<size_t> PSBTAnalysis::estimated_vsize

Estimated weight of the transaction.

Definition at line 30 of file psbt.h.

◆ fee

std::optional<CAmount> PSBTAnalysis::fee

Amount of fee being paid by the transaction.

Definition at line 32 of file psbt.h.

◆ inputs

std::vector<PSBTInputAnalysis> PSBTAnalysis::inputs

More information about the individual inputs of the transaction.

Definition at line 33 of file psbt.h.

◆ next

PSBTRole PSBTAnalysis::next

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

Definition at line 34 of file psbt.h.


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