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

Optional< size_t > estimated_vsize
 Estimated weight of the transaction. More...
 
Optional< CFeeRateestimated_feerate
 Estimated feerate (fee / weight) of the transaction. More...
 
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 27 of file psbt.h.

Member Function Documentation

◆ SetInvalid()

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

Definition at line 35 of file psbt.h.

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

Member Data Documentation

◆ error

std::string PSBTAnalysis::error

Error message.

Definition at line 33 of file psbt.h.

◆ estimated_feerate

Optional<CFeeRate> PSBTAnalysis::estimated_feerate

Estimated feerate (fee / weight) of the transaction.

Definition at line 29 of file psbt.h.

◆ estimated_vsize

Optional<size_t> PSBTAnalysis::estimated_vsize

Estimated weight of the transaction.

Definition at line 28 of file psbt.h.

◆ fee

Optional<CAmount> PSBTAnalysis::fee

Amount of fee being paid by the transaction.

Definition at line 30 of file psbt.h.

◆ inputs

std::vector<PSBTInputAnalysis> PSBTAnalysis::inputs

More information about the individual inputs of the transaction.

Definition at line 31 of file psbt.h.

◆ next

PSBTRole PSBTAnalysis::next

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

Definition at line 32 of file psbt.h.


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