Commit 72d2d561 authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #6943 from ethereum-optimism/aj/enable-peer-banning

op-node: Enable peer banning by default
parents 987b56ef e4c94686
...@@ -50,7 +50,8 @@ var ( ...@@ -50,7 +50,8 @@ var (
// Banning Flag - whether or not we want to act on the scoring // Banning Flag - whether or not we want to act on the scoring
Banning = &cli.BoolFlag{ Banning = &cli.BoolFlag{
Name: "p2p.ban.peers", Name: "p2p.ban.peers",
Usage: "Enables peer banning. This should ONLY be enabled once certain peer scoring is working correctly.", Usage: "Enables peer banning.",
Value: true,
Required: false, Required: false,
EnvVars: p2pEnv("PEER_BANNING"), EnvVars: p2pEnv("PEER_BANNING"),
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment