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

Keeps track of local transactions that are in the queue or were mined/dropped recently.

Implementations

Create a new list of local transactions.

Set blockchain checker.

The function should return true if transaction is included in chain.

Returns true if the transaction is already in local transactions.

Return a map of all currently stored transactions.

Returns true if there are pending local transactions.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.

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

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