Skip to main content

Module transactions

Module transactions 

Source
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 with NewPooledTransactionHashes.
policy
Defines the traits for transaction-related policies.

Structs§

PeerMetadata
Tracks a single peer in the context of TransactionsManager.
PendingPoolImportsInfo
Tracks stats about the TransactionsManager.
TransactionsHandle
Api to interact with TransactionsManager task.
TransactionsManager
Manages transactions on top of the p2p network.

Enums§

NetworkTransactionEvent
All events related to transactions emitted by the network.

Type Aliases§

PoolImportFuture
The future for importing transactions into the pool.