pub enum BuildFeeBumpError {
UnknownUtxo(OutPoint),
TransactionNotFound(Txid),
TransactionConfirmed(Txid),
IrreplaceableTransaction(Txid),
FeeRateUnavailable,
}
Expand description
Error returned from Wallet::build_fee_bump
Variants§
UnknownUtxo(OutPoint)
Happens when trying to spend an UTXO that is not in the internal database
TransactionNotFound(Txid)
Thrown when a tx is not found in the internal database
TransactionConfirmed(Txid)
Happens when trying to bump a transaction that is already confirmed
IrreplaceableTransaction(Txid)
Trying to replace a tx that has a sequence >= 0xFFFFFFFE
Node doesn’t have data to estimate a fee rate
Trait Implementations§
Source§impl Debug for BuildFeeBumpError
impl Debug for BuildFeeBumpError
Source§impl Display for BuildFeeBumpError
impl Display for BuildFeeBumpError
Source§impl Error for BuildFeeBumpError
impl Error for BuildFeeBumpError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for BuildFeeBumpError
impl RefUnwindSafe for BuildFeeBumpError
impl Send for BuildFeeBumpError
impl Sync for BuildFeeBumpError
impl Unpin for BuildFeeBumpError
impl UnwindSafe for BuildFeeBumpError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more