OnlyStaticPeers should disallow connection from random peers. Move DicoveryEnabled to NetworkConfig. OnlyStaticPeers should implicitly disable Discovery.
Description
OnlyStaticPeers 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
OnlyStaticPeersenabled - 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:
- Windows
- 1.20
- debugging
- Prysm
Can i work on this issue?
@btme0011 sure
Hi @smartprogrammer93 is this issue still relevant?
@shubham-sonthalia yeah, would you like to work on it?
yes sure.
It was adjusted recently by @asdacap and should work fine now - closing. https://github.com/NethermindEth/nethermind/pull/7514