OnlyStaticPeers should disallow connection from random peers. Move DicoveryEnabled to NetworkConfig. OnlyStaticPeers should implicitly disable Discovery. #5912
DescriptionOnlyStaticPeers should disallow connection from random peers. Move DiscoveryEnabled to NetworkConfig. OnlyStaticPeers should implicitly disable Discovery.
Steps to Reproduce
In order to replicate the behavior, please provide a detailed list of steps:
Run nethermind with OnlyStaticPeers enabled
Notice how nethermind still connects to non static peers
Actual behavior
Connects to non static peers
Expected behavior
Should not connect to non static peers
Desktop (please complete the following information):
Please provide the following information regarding your setup:
Description
OnlyStaticPeers
should disallow connection from random peers. MoveDiscoveryEnabled
toNetworkConfig
.OnlyStaticPeers
should implicitly disable Discovery.Steps to Reproduce In order to replicate the behavior, please provide a detailed list of steps:
OnlyStaticPeers
enabledActual behavior Connects to non static peers
Expected behavior Should not connect to non static peers
Desktop (please complete the following information): Please provide the following information regarding your setup: