Expand description
Transaction pool client facing API.
Modules§
- error
 - Transaction pool errors.
 
Structs§
- Offchain
Transaction Pool Factory  - Factory for creating [
TransactionPoolExt]s. - Pool
Status  - Transaction pool status.
 - Reject
AllTx Pool  - Transaction pool that rejects all submitted transactions.
 
Enums§
- Chain
Event  - Events that the transaction pool listens for.
 - Transaction
Source  - The source of the transaction.
 - Transaction
Status  - Possible transaction status events.
 - Transaction
Validity Error  - Errors that can occur while checking the validity of a transaction.
 
Traits§
- InPool
Transaction  - In-pool transaction interface.
 - Local
Transaction Pool  - Transaction pool interface for submitting local transactions that exposes a blocking interface for submission.
 - Maintained
Transaction Pool  - Trait for transaction pool maintenance.
 - Ready
Transactions  - An iterator of ready transactions.
 - Transaction
Pool  - Transaction pool interface.
 
Type Aliases§
- Block
Hash  - Block hash type for a pool.
 - Import
Notification Stream  - The import notification event stream.
 - Local
Transaction For  - Transaction type for a local pool.
 - Transaction
For  - Transaction type for a pool.
 - Transaction
Longevity  - Minimum number of blocks a transaction will remain valid for.
TransactionLongevity::max_value()means “forever”. - Transaction
Priority  - Priority for a transaction. Additive. Higher is better.
 - Transaction
Status Stream  - The stream of transaction events.
 - Transaction
Status Stream For  - Type of transactions event stream for a pool.
 - Transaction
Tag  - Tag for a transaction. No two transactions with the same tag should be placed on-chain.
 - TxHash
 - Transaction hash type for a pool.
 - TxIndex
 - Transaction’s index within the block in which it was included.
 - TxInvalidity
Report Map  - Map containing validity errors associated with transaction hashes. Used to report invalid transactions to the pool.