pub enum PackageAcceptError {
PackageValidation(PackageError),
MissingInput {
txid: Txid,
detail: String,
},
NegativeFee {
txid: Txid,
},
InsufficientPackageFeeRate {
fee_rate: f64,
min_rate: f64,
},
MempoolRejection {
txid: Txid,
reason: String,
},
PackageTooLarge {
vsize: u32,
limit: u32,
},
}Expand description
Errors from package acceptance.
Variants§
PackageValidation(PackageError)
Package validation (structure, topology) failed.
MissingInput
A transaction in the package failed UTXO lookup.
NegativeFee
A transaction’s outputs don’t cover inputs (negative fee).
InsufficientPackageFeeRate
Aggregate package fee rate too low.
MempoolRejection
A transaction failed mempool submission.
PackageTooLarge
Package total vsize exceeded.
Trait Implementations§
Source§impl Debug for PackageAcceptError
impl Debug for PackageAcceptError
Source§impl Display for PackageAcceptError
impl Display for PackageAcceptError
Source§impl Error for PackageAcceptError
impl Error for PackageAcceptError
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 PackageAcceptError
impl RefUnwindSafe for PackageAcceptError
impl Send for PackageAcceptError
impl Sync for PackageAcceptError
impl Unpin for PackageAcceptError
impl UnsafeUnpin for PackageAcceptError
impl UnwindSafe for PackageAcceptError
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