Enum vapcore_miner::pool::verifier::Transaction[−][src]

pub enum Transaction {
    Unverified(UnverifiedTransaction),
    Retracted(UnverifiedTransaction),
    Local(PendingTransaction),
}

Transaction to verify.

Variants

Fresh, never verified transaction.

We need to do full verification of such transactions

Transaction from retracted block.

We could skip some parts of verification of such transactions

Locally signed or retracted transaction.

We can skip consistency verifications and just verify readiness.

Implementations

impl Transaction[src]

pub fn hash(&self) -> H256[src]

Return transaction hash

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

Return transaction gas price

Trait Implementations

impl<C: Client> Verifier<Transaction> for Verifier<C, NonceAndGasPrice, VerifiedTransaction>[src]

type Error = Error

Verification error.

type VerifiedTransaction = VerifiedTransaction

Verified transaction.

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> Same<T> for T

type Output = T

Should always be Self

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>,