pub struct VerifiedTransaction { /* private fields */ }
Expand description

Verified transaction stored in the pool.

Implementations

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.

Gets wrapped SignedTransaction

Gets wrapped PendingTransaction

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The transaction has been successfuly added to the pool. If second argument is Some the transaction has took place of some other transaction which was already in pool. NOTE: You won’t be notified about drop of old transaction separately. Read more

The transaction was rejected from the pool. It means that it was too cheap to replace any transaction already in the pool. Read more

The transaction was pushed out from the pool because of the limit.

The transaction was marked as invalid by executor.

The transaction has been canceled.

The transaction has been culled from the pool.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Gets transaction nonce.

Gets maximum potential cost of the transaction.

Gets transaction priority.

Gets transaction gas price.

Gets the actual reward miner will get if the transaction is added into the current block.

Transaction hash type.

Transaction sender type.

Transaction hash

Memory usage

Transaction sender

Does it have zero gas price?

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.