Expand description
Transactions management for the p2p network.
Re-exports§
pub use self::constants::tx_fetcher::DEFAULT_SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESP_ON_PACK_GET_POOLED_TRANSACTIONS_REQ;pub use self::constants::SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESPONSE;pub use config::AnnouncementFilteringPolicy;pub use config::TransactionFetcherConfig;pub use config::TransactionIngressPolicy;pub use config::TransactionPropagationMode;pub use config::TransactionPropagationPolicy;pub use config::TransactionsManagerConfig;
Modules§
- announcement
- Normalized transaction announcements. Ordered transaction announcements used by the transaction manager and fetcher.
- config
- Aggregation on configurable parameters for
TransactionsManager. - constants
- Default and spec’d bounds.
- fetcher
- Component responsible for fetching transactions from
NewPooledTransactionHashes. Fetches transactions that peers announced withNewPooledTransactionHashes. - policy
- Defines the traits for transaction-related policies.
Structs§
- Peer
Metadata - Tracks a single peer in the context of
TransactionsManager. - Pending
Pool Imports Info - Tracks stats about the
TransactionsManager. - Transactions
Handle - Api to interact with
TransactionsManagertask. - Transactions
Manager - Manages transactions on top of the p2p network.
Enums§
- Network
Transaction Event - All events related to transactions emitted by the network.
Type Aliases§
- Pool
Import Future - The future for importing transactions into the pool.