From 88a867ef9caa9b59c29169d81b666bf1dace004b Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Mon, 9 May 2022 19:37:08 +1000 Subject: [PATCH] Default 64 MiB max unverified bytes --- config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.go b/config.go index 5e9bd356..398fdd33 100644 --- a/config.go +++ b/config.go @@ -201,9 +201,8 @@ func NewDefaultClientConfig() *ClientConfig { ListenPort: 42069, Extensions: defaultPeerExtensionBytes(), AcceptPeerConnections: true, + MaxUnverifiedBytes: 64 << 20, } - // cc.ConnTracker.SetNoMaxEntries() - // cc.ConnTracker.Timeout = func(conntrack.Entry) time.Duration { return 0 } return cc } -- 2.48.1