pub enum MempoolError {
Show 34 variants
AlreadyInMempool,
Coinbase,
MissingInputs {
parents: Vec<Txid>,
},
FeeTooLow {
min_kvb: u64,
actual_kvb: u64,
},
InvalidFeeRate(String),
TooManySigops(i64),
TooManyAncestors(usize),
AncestorSizeTooLarge(i64),
TooManyDescendants(usize),
DescendantSizeTooLarge(i64),
NotStandard(String),
TxVersionNotStandard,
TxSizeTooSmall,
NonFinal,
NonBIP68Final,
NegativeFee,
FeeOverflow,
MempoolFull,
TxConflict(String),
ScriptValidationFailed(String),
NoConflictToReplace,
TxNotReplaceable,
TooManyReplacements(usize),
NewUnconfirmedInput,
MissingConflict,
InsufficientFee(String),
PackageTooLarge(usize, usize),
PackageSizeTooLarge(u64),
PackageCyclicDependencies,
PackageFeeTooLow(String),
PackageTxValidationFailed(Txid, String),
PackageRelayDisabled,
TxError(TxError),
RuntimeApi(String),
}Expand description
Errors that can occur when validating or managing mempool transactions.
Variants§
AlreadyInMempool
Coinbase
MissingInputs
FeeTooLow
InvalidFeeRate(String)
TooManySigops(i64)
TooManyAncestors(usize)
AncestorSizeTooLarge(i64)
TooManyDescendants(usize)
DescendantSizeTooLarge(i64)
NotStandard(String)
TxVersionNotStandard
TxSizeTooSmall
NonFinal
NonBIP68Final
NegativeFee
FeeOverflow
MempoolFull
TxConflict(String)
ScriptValidationFailed(String)
NoConflictToReplace
TxNotReplaceable
TooManyReplacements(usize)
NewUnconfirmedInput
MissingConflict
InsufficientFee(String)
PackageTooLarge(usize, usize)
PackageSizeTooLarge(u64)
PackageCyclicDependencies
PackageFeeTooLow(String)
PackageTxValidationFailed(Txid, String)
PackageRelayDisabled
TxError(TxError)
RuntimeApi(String)
Trait Implementations§
Source§impl Debug for MempoolError
impl Debug for MempoolError
Source§impl Display for MempoolError
impl Display for MempoolError
Source§impl Error for MempoolError
impl Error for MempoolError
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 MempoolError
impl RefUnwindSafe for MempoolError
impl Send for MempoolError
impl Sync for MempoolError
impl Unpin for MempoolError
impl UnwindSafe for MempoolError
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
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T. Read more§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T.