Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
node::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 30 of file psbt.h.

Member Function Documentation

◆ SetInvalid()

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

Definition at line 38 of file psbt.h.

Here is the caller graph for this function:

Member Data Documentation

◆ error

std::string node::PSBTAnalysis::error

Error message.

Definition at line 36 of file psbt.h.

◆ estimated_feerate

std::optional<CFeeRate> node::PSBTAnalysis::estimated_feerate

Estimated feerate (fee / weight) of the transaction.

Definition at line 32 of file psbt.h.

◆ estimated_vsize

std::optional<size_t> node::PSBTAnalysis::estimated_vsize

Estimated weight of the transaction.

Definition at line 31 of file psbt.h.

◆ fee

std::optional<CAmount> node::PSBTAnalysis::fee

Amount of fee being paid by the transaction.

Definition at line 33 of file psbt.h.

◆ inputs

std::vector<PSBTInputAnalysis> node::PSBTAnalysis::inputs

More information about the individual inputs of the transaction.

Definition at line 34 of file psbt.h.

◆ next

PSBTRole node::PSBTAnalysis::next

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

Definition at line 35 of file psbt.h.


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