From 37f2320af699a3616d5c8b58bf1e892cd3c6c0ba Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 30 Sep 2024 21:13:49 -0700 Subject: [PATCH] increase message buffer to keep message (#657) * increase message buffer to keep message * update version --- eth/peer.go | 14 +++++++------- params/version.go | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/eth/peer.go b/eth/peer.go index 8035f2a9f0..eb7730b99a 100644 --- a/eth/peer.go +++ b/eth/peer.go @@ -37,13 +37,13 @@ var ( ) const ( - maxKnownTxs = 32768 // Maximum transactions hashes to keep in the known list (prevent DOS) - maxKnownOrderTxs = 32768 // Maximum transactions hashes to keep in the known list (prevent DOS) - maxKnownLendingTxs = 32768 // Maximum transactions hashes to keep in the known list (prevent DOS) - maxKnownBlocks = 1024 // Maximum block hashes to keep in the known list (prevent DOS) - maxKnownVote = 1024 // Maximum transactions hashes to keep in the known list (prevent DOS) - maxKnownTimeout = 1024 // Maximum transactions hashes to keep in the known list (prevent DOS) - maxKnownSyncInfo = 1024 // Maximum transactions hashes to keep in the known list (prevent DOS) + maxKnownTxs = 32768 // Maximum transactions hashes to keep in the known list (prevent DOS) + maxKnownOrderTxs = 32768 // Maximum transactions hashes to keep in the known list (prevent DOS) + maxKnownLendingTxs = 32768 // Maximum transactions hashes to keep in the known list (prevent DOS) + maxKnownBlocks = 1024 // Maximum block hashes to keep in the known list (prevent DOS) + maxKnownVote = 131072 // Maximum transactions hashes to keep in the known list (prevent DOS) + maxKnownTimeout = 131072 // Maximum transactions hashes to keep in the known list (prevent DOS) + maxKnownSyncInfo = 131072 // Maximum transactions hashes to keep in the known list (prevent DOS) handshakeTimeout = 5 * time.Second ) diff --git a/params/version.go b/params/version.go index 6d5ad0874e..a83b28c4e9 100644 --- a/params/version.go +++ b/params/version.go @@ -23,7 +23,7 @@ import ( const ( VersionMajor = 2 // Major version component of the current release VersionMinor = 2 // Minor version component of the current release - VersionPatch = 1 // Patch version component of the current release + VersionPatch = 2 // Patch version component of the current release VersionMeta = "stable" // Version metadata to append to the version string )