referrerpolicy=no-referrer-when-downgrade

Crate sc_transaction_pool

Crate sc_transaction_pool 

Source
Expand description

Substrate transaction pool implementation.

Modules§

error
Transaction pool error.

Macros§

insert_and_log_throttled
Inserts a value into a SlidingStats and conditionally logs the current stats using tracing.
insert_and_log_throttled_sync
Sync version of insert_and_log_throttled

Structs§

BasicPool
Basic implementation of transaction pool that can be customized by providing PoolApi.
Builder
Builder allowing to create specific instance of transaction pool.
ForkAwareTxPool
The fork-aware transaction pool.
FullChainApi
The transaction pool logic for full client.
Options
Pool configuration options.
Pool
Extrinsics pool that performs validation.
PoolLimit
Queue limits
TimedTransactionSource
A transaction source that includes a timestamp indicating when the transaction was submitted.
Transaction
Immutable transaction
TransactionPoolOptions
Transaction pool options.

Enums§

RevalidationType
Type of revalidation.
TransactionPoolType
The type of transaction pool.
ValidateTransactionPriority
The priority of request to validate the transaction.

Constants§

LOG_TARGET
Log target for transaction pool.

Traits§

ChainApi
Concrete extrinsic validation and query logic.
ClientForTransactionPool
The client capabilities the transaction pool of a full node relies on.
FullClientTransactionPool
FullClientTransactionPool is a trait that combines the functionality of MaintainedTransactionPool and LocalTransactionPool for a given Block.

Functions§

notification_future
Inform the transaction pool about imported and finalized blocks.

Type Aliases§

ForkAwareTxPoolTask
Fork aware transaction pool task, that needs to be polled.
TransactionPoolHandle
The public type alias for the trait object providing the implementation of FullClientTransactionPool for the given Block type.