reth::network::transactions::constants::tx_fetcher

Constant DEFAULT_MAX_COUNT_FALLBACK_PEERS

pub const DEFAULT_MAX_COUNT_FALLBACK_PEERS: u8 = _; // 3u8
Expand description

Default number of alternative peers to keep track of for each transaction pending fetch. At most DEFAULT_MAX_RETRIES, which defaults to 2 peers, can ever be needed per peer.

Default is the sum of DEFAULT_MAX_RETRIES an DEFAULT_MARGINAL_COUNT_FALLBACK_PEERS, which defaults to 1 peer, so 3 peers.