pub enum PoolTransactionReject {
LowFeeRate(String),
ExceededMaximumAncestorsCount(String),
ExceededTransactionSizeLimit(String),
Full(String),
Duplicated(String),
Malformed(String),
DeclaredWrongCycles(String),
Resolve(String),
Verification(String),
Expiry(String),
RBFRejected(String),
Invalidated(String),
}
Expand description
TX reject message, PoolTransactionReject
is a JSON object with following fields.
type
: the Reject type with following enum valuesdescription
:string
- Detailed description about why the transaction is rejected.
Variants§
LowFeeRate(String)
Transaction fee lower than config
ExceededMaximumAncestorsCount(String)
Transaction exceeded maximum ancestors count limit
ExceededTransactionSizeLimit(String)
Transaction exceeded maximum size limit
Full(String)
Transaction are replaced because the pool is full
Duplicated(String)
Transaction already exists in transaction_pool
Malformed(String)
Malformed transaction
DeclaredWrongCycles(String)
Declared wrong cycles
Resolve(String)
Resolve failed
Verification(String)
Verification failed
Expiry(String)
Transaction expired
RBFRejected(String)
RBF rejected
Invalidated(String)
Invalidated rejected
Trait Implementations§
Source§impl Clone for PoolTransactionReject
impl Clone for PoolTransactionReject
Source§fn clone(&self) -> PoolTransactionReject
fn clone(&self) -> PoolTransactionReject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PoolTransactionReject
impl Debug for PoolTransactionReject
Source§impl<'de> Deserialize<'de> for PoolTransactionReject
impl<'de> Deserialize<'de> for PoolTransactionReject
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Reject> for PoolTransactionReject
impl From<Reject> for PoolTransactionReject
Source§impl Hash for PoolTransactionReject
impl Hash for PoolTransactionReject
Source§impl JsonSchema for PoolTransactionReject
impl JsonSchema for PoolTransactionReject
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for PoolTransactionReject
impl PartialEq for PoolTransactionReject
Source§impl Serialize for PoolTransactionReject
impl Serialize for PoolTransactionReject
impl Eq for PoolTransactionReject
impl StructuralPartialEq for PoolTransactionReject
Auto Trait Implementations§
impl Freeze for PoolTransactionReject
impl RefUnwindSafe for PoolTransactionReject
impl Send for PoolTransactionReject
impl Sync for PoolTransactionReject
impl Unpin for PoolTransactionReject
impl UnwindSafe for PoolTransactionReject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)