Skip to content

Commit

Permalink
main: increase ban threshold to 300
Browse files Browse the repository at this point in the history
This increase is so that the utreexo peer isn't punished for performing
ibd.

When a utreexo csn node is performing ibd, it is able to sync much
faster than a traditional node. This has resulted in cases of where a
csn is banned while performing ibd.
  • Loading branch information
kcalvinalvin committed Nov 15, 2023
1 parent 877de3e commit c58c16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const (
defaultLogFilename = "utreexod.log"
defaultMaxPeers = 125
defaultBanDuration = time.Hour * 24
defaultBanThreshold = 100
defaultBanThreshold = 300
defaultConnectTimeout = time.Second * 30
defaultMaxRPCClients = 10
defaultMaxRPCWebsockets = 25
Expand Down

0 comments on commit c58c16c

Please sign in to comment.