Enum bdk_chain::tx_graph::CalculateFeeError
source · Expand description
Errors returned by TxGraph::calculate_fee
.
Variants§
MissingTxOut(Vec<OutPoint>)
Missing TxOut
for one or more of the inputs of the tx
NegativeFee(i64)
When the transaction is invalid according to the graph it has a negative fee
Trait Implementations§
source§impl Debug for CalculateFeeError
impl Debug for CalculateFeeError
source§impl Display for CalculateFeeError
impl Display for CalculateFeeError
source§impl Error for CalculateFeeError
impl Error for CalculateFeeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()