reth_transaction_pool::validate

Constant DEFAULT_MAX_TX_INPUT_BYTES

Source
pub const DEFAULT_MAX_TX_INPUT_BYTES: usize = _; // 131_072usize
Expand description

Validation constants. DEFAULT_MAX_TX_INPUT_BYTES is the default maximum size a single transaction can have. This field has non-trivial consequences: larger transactions are significantly harder and more expensive to propagate; larger transactions also take more resources to validate whether they fit into the pool or not. Default is 4 times TX_SLOT_BYTE_SIZE, which defaults to 32 KiB, so 128 KiB.