reth
reth copied to clipboard
Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
This PR adds a symmetric counterpart to BlockImport for announcing blocks to the network. This is useful for custom chains that want to leverage a singular p2p layer instead of...
- Replace saturating_sub with checked_sub when computing last_pruned_block to preserve None on underflow (meaning “block 0 not finished yet”) per PruneCheckpoint contract. - Save checkpoint with block_number: last_pruned_block.map(|b| prune_mode_block.min(b)) instead...
### Description **Problem**: ECIES initialization was mixing randomness sources by using `B256::random()` for nonce generation while using a local RNG for ephemeral keys. This creates inconsistent entropy sources in cryptographic...
closes: https://github.com/paradigmxyz/reth/issues/18527 This PR optimizes batch transaction validation by refactoring the TransactionValidator trait. The validation process is now split into two distinct steps: `validate_transaction_stateless` and `validate_transaction_stateful`. The`TransactionValidationTaskExecutor` now 1. runs...