From c58c16c5fed60920848a0663d4607da23a1acfd3 Mon Sep 17 00:00:00 2001 From: Calvin Kim Date: Wed, 15 Nov 2023 14:02:13 +0900 Subject: [PATCH] main: increase ban threshold to 300 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. --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index c51e50f1..0cd5a971 100644 --- a/config.go +++ b/config.go @@ -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