Skip to main content

SUBBLOCK_TX_CHANNEL_CAPACITY

Constant SUBBLOCK_TX_CHANNEL_CAPACITY 

Source
pub const SUBBLOCK_TX_CHANNEL_CAPACITY: usize = 10_000;
Expand description

Capacity of the subblock transactions broadcast channel.

This is set high enough to prevent legitimate transactions from being evicted during high-load scenarios. Transactions are filtered by validator key before being added to the channel to prevent DoS attacks.