mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
Make Peer Scorer The Default (#11115)
* make it the default * deprecate this Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -208,9 +208,10 @@ func ConfigureBeaconChain(ctx *cli.Context) error {
|
||||
logDisabled(disableGRPCConnectionLogging)
|
||||
cfg.DisableGRPCConnectionLogs = true
|
||||
}
|
||||
if ctx.Bool(enablePeerScorer.Name) {
|
||||
logEnabled(enablePeerScorer)
|
||||
cfg.EnablePeerScorer = true
|
||||
cfg.EnablePeerScorer = true
|
||||
if ctx.Bool(disablePeerScorer.Name) {
|
||||
logDisabled(disablePeerScorer)
|
||||
cfg.EnablePeerScorer = false
|
||||
}
|
||||
if ctx.Bool(checkPtInfoCache.Name) {
|
||||
log.Warn("Advance check point info cache is no longer supported and will soon be deleted")
|
||||
|
||||
Reference in New Issue
Block a user