pub enum MempoolRequest {
CheckTx(CheckTx),
}
Expand description
The mempool category of ABCI requests.
Variants§
CheckTx(CheckTx)
Check whether a transaction should be included in the mempool.
CheckTx
is not involved in processing blocks, only in deciding whether a
transaction should be included in the mempool. Every node runs CheckTx
before adding a transaction to its local mempool. The transaction may come
from an external user or another node. CheckTx
need not execute the
transaction in full, but can instead perform lightweight or statateful
validation (e.g., checking signatures or account balances) instead of more
expensive checks (like running code in a virtual machine).
Trait Implementations§
Source§impl Clone for MempoolRequest
impl Clone for MempoolRequest
Source§fn clone(&self) -> MempoolRequest
fn clone(&self) -> MempoolRequest
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 MempoolRequest
impl Debug for MempoolRequest
Source§impl From<MempoolRequest> for Request
impl From<MempoolRequest> for Request
Source§fn from(req: MempoolRequest) -> Self
fn from(req: MempoolRequest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MempoolRequest
impl PartialEq for MempoolRequest
Source§impl TryFrom<Request> for MempoolRequest
impl TryFrom<Request> for MempoolRequest
impl Eq for MempoolRequest
impl StructuralPartialEq for MempoolRequest
Auto Trait Implementations§
impl !Freeze for MempoolRequest
impl RefUnwindSafe for MempoolRequest
impl Send for MempoolRequest
impl Sync for MempoolRequest
impl Unpin for MempoolRequest
impl UnwindSafe for MempoolRequest
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