You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described here ethereum/consensus-specs#3500, Peer Exchange isn't relevant to the Ethereum Network and PRUNE messages sent by Teku can have up to 9 KB and 210 peer IDs due to Peer Exchange.
The options to limit the number of peers sent and accepted in PRUNE messages have been fixed and improved in this PR libp2p/jvm-libp2p#336.
We suggest 2 phases for the implementation:
A new jvm-libp2p version containing the mentioned PR is released. Teku is updated to use this version and set maxPeersSentInPruneMsg to zero. For compatibility reasons, maxPeersAcceptedInPruneMsg is set to a high value, potentially to the max Integer value.
After some time has passed and all Teku nodes are expected to have been updated, maxPeersAcceptedInPruneMsg is also set zero.
Steps to Reproduce (Bug)
Inspect PRUNE messages sent by Teku over time.
Expected behavior:
Phases:
Teku doesn't send peer IDs in PRUNE messages, but accept it from other peers.
Teku doesn't send peer IDs in PRUNE messages and doesn't accept it from other peers.
Actual behavior:
Teku sends peer IDs in PRUNE messages and accept it from other peers.
Frequency:
Often
Versions (Add all that apply)
Software version: Not sure, but probably the latest and previous ones.
Java version: [java -version]
OS Name & Version: [cat /etc/*release]
Docker Version: [docker version]
Cloud VM, type, size: [Amazon Web Services I3-large]
The text was updated successfully, but these errors were encountered:
Description
As described here ethereum/consensus-specs#3500, Peer Exchange isn't relevant to the Ethereum Network and
PRUNE
messages sent by Teku can have up to 9 KB and 210 peer IDs due to Peer Exchange.The options to limit the number of peers sent and accepted in
PRUNE
messages have been fixed and improved in this PR libp2p/jvm-libp2p#336.We suggest 2 phases for the implementation:
maxPeersSentInPruneMsg
tozero
. For compatibility reasons,maxPeersAcceptedInPruneMsg
is set to a high value, potentially to the max Integer value.maxPeersAcceptedInPruneMsg
is also setzero
.Steps to Reproduce (Bug)
Inspect
PRUNE
messages sent by Teku over time.Expected behavior:
Phases:
PRUNE
messages, but accept it from other peers.PRUNE
messages and doesn't accept it from other peers.Actual behavior:
Teku sends peer IDs in
PRUNE
messages and accept it from other peers.Frequency:
Often
Versions (Add all that apply)
java -version
]cat /etc/*release
]docker version
]The text was updated successfully, but these errors were encountered: