Module config

Module config 

Source
Expand description

Aggregation on configurable parameters for TransactionsManager.

Structs§

TransactionFetcherConfig
Configuration for fetching transactions.
TransactionsManagerConfig
Configuration for managing transactions within the network.
TypedRelaxedFilter
An AnnouncementFilteringPolicy that permissively handles unknown type bytes based on a given type T using T::try_from(u8).
TypedStrictFilter
A generic AnnouncementFilteringPolicy that enforces strict validation of transaction type based on a generic type T.

Enums§

AnnouncementAcceptance
Defines the outcome of evaluating a transaction against an AnnouncementFilteringPolicy.
TransactionPropagationKind
Determines which peers pending transactions are propagated to.
TransactionPropagationMode
Determines how new pending transactions are propagated to other peers in full.

Traits§

AnnouncementFilteringPolicy
A policy that defines how to handle incoming transaction announcements, particularly concerning transaction types and other announcement metadata.
TransactionPropagationPolicy
A policy defining which peers pending transactions are gossiped to.

Type Aliases§

RelaxedEthAnnouncementFilter
Type alias for TypedRelaxedFilter. This filter accepts known Ethereum transaction types and ignores unknown ones without penalizing the peer.
StrictEthAnnouncementFilter
Type alias for a TypedStrictFilter. This is the default strict announcement filter.