Skip to content

Commit

Permalink
fix: Updated Config (#94)
Browse files Browse the repository at this point in the history
* modified constants and config

* updated peer max score

* block ignore updated

Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com>
  • Loading branch information
sadiq1971 and dhyaniarun1993 authored Sep 2, 2021
1 parent f81c126 commit 8e9adf5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions models/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import (
"github.com/protolambda/zrnt/eth2/beacon/common"
)

const blockIgnoreThreshold = 2
// 256 epochs
const blockIgnoreThreshold = 8192

// ClientName defines the type for eth2 client name
type ClientName string
Expand Down Expand Up @@ -75,7 +76,7 @@ const (
type Score int

const (
ScoreGood Score = 10
ScoreGood Score = 3
ScoreBad Score = 0
)

Expand Down

0 comments on commit 8e9adf5

Please sign in to comment.