Struct vapcore_miner::pool::VerifiedTransaction[][src]

pub struct VerifiedTransaction { /* fields omitted */ }

Verified transaction stored in the pool.

Implementations

impl VerifiedTransaction[src]

pub fn from_pending_block_transaction(tx: SignedTransaction) -> Self[src]

Create VerifiedTransaction directly from SignedTransaction.

This method should be used only:

  1. for tests
  2. In case we are converting pending block transactions that are already in the queue to match the function signature.

pub fn signed(&self) -> &SignedTransaction[src]

Gets wrapped SignedTransaction

pub fn pending(&self) -> &PendingTransaction[src]

Gets wrapped PendingTransaction

Trait Implementations

impl Clone for VerifiedTransaction[src]

impl Debug for VerifiedTransaction[src]

impl Eq for VerifiedTransaction[src]

impl Listener<VerifiedTransaction> for LocalTransactionsList[src]

impl PartialEq<VerifiedTransaction> for VerifiedTransaction[src]

impl ScoredTransaction for VerifiedTransaction[src]

fn gas_price(&self) -> &U256[src]

Gets transaction gas price.

fn nonce(&self) -> U256[src]

Gets transaction nonce.

impl StructuralEq for VerifiedTransaction[src]

impl StructuralPartialEq for VerifiedTransaction[src]

impl VerifiedTransaction for VerifiedTransaction[src]

type Hash = H256

Transaction hash type.

type Sender = Address

Transaction sender type.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,