mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
feat(net): enforce EIP-868 fork ID for discovered peers (#22013)
Co-authored-by: Emma <emma@tempo.xyz> Co-authored-by: Matthias Seitz <mattsse@users.noreply.github.com> Co-authored-by: Amp <amp@ampcode.com> Co-authored-by: Emma Jamieson-Hoare <ejamieson19@gmail.com> Co-authored-by: Emma Jamieson-Hoare <emmajam@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4a62d38af2
commit
0b8e6c6ed3
@@ -293,6 +293,11 @@ Networking:
|
||||
|
||||
Example: --netrestrict "192.168.0.0/16,10.0.0.0/8"
|
||||
|
||||
--enforce-enr-fork-id
|
||||
Enforce EIP-868 ENR fork ID validation for discovered peers.
|
||||
|
||||
When enabled, peers discovered without a confirmed fork ID are not added to the peer set until their fork ID is verified via EIP-868 ENR request. This filters out peers from other networks that pollute the discovery table.
|
||||
|
||||
RPC:
|
||||
--http
|
||||
Enable the HTTP-RPC server
|
||||
|
||||
@@ -233,6 +233,11 @@ Networking:
|
||||
|
||||
Example: --netrestrict "192.168.0.0/16,10.0.0.0/8"
|
||||
|
||||
--enforce-enr-fork-id
|
||||
Enforce EIP-868 ENR fork ID validation for discovered peers.
|
||||
|
||||
When enabled, peers discovered without a confirmed fork ID are not added to the peer set until their fork ID is verified via EIP-868 ENR request. This filters out peers from other networks that pollute the discovery table.
|
||||
|
||||
Datadir:
|
||||
--datadir <DATA_DIR>
|
||||
The path to the data dir for all reth files and subdirectories.
|
||||
|
||||
@@ -233,6 +233,11 @@ Networking:
|
||||
|
||||
Example: --netrestrict "192.168.0.0/16,10.0.0.0/8"
|
||||
|
||||
--enforce-enr-fork-id
|
||||
Enforce EIP-868 ENR fork ID validation for discovered peers.
|
||||
|
||||
When enabled, peers discovered without a confirmed fork ID are not added to the peer set until their fork ID is verified via EIP-868 ENR request. This filters out peers from other networks that pollute the discovery table.
|
||||
|
||||
Datadir:
|
||||
--datadir <DATA_DIR>
|
||||
The path to the data dir for all reth files and subdirectories.
|
||||
|
||||
@@ -460,6 +460,11 @@ Networking:
|
||||
|
||||
Example: --netrestrict "192.168.0.0/16,10.0.0.0/8"
|
||||
|
||||
--enforce-enr-fork-id
|
||||
Enforce EIP-868 ENR fork ID validation for discovered peers.
|
||||
|
||||
When enabled, peers discovered without a confirmed fork ID are not added to the peer set until their fork ID is verified via EIP-868 ENR request. This filters out peers from other networks that pollute the discovery table.
|
||||
|
||||
Logging:
|
||||
--log.stdout.format <FORMAT>
|
||||
The format to use for logs written to stdout
|
||||
|
||||
Reference in New Issue
Block a user