nethermind icon indicating copy to clipboard operation
nethermind copied to clipboard

Option to run Discovery V4 and V5 on the same port

Open alexb5dh opened this issue 8 months ago • 0 comments

  • Added adapter to send Lantern.Discv5 messages using Netty connection (IDatagramChannel), instead of built-in one (UdpConnection)
  • Process incoming Lantern.Discv5 message using a new Netty handler (NettyDiscoveryV5Handler), if v4 implementation (NettyDiscoveryHandler) didn't manage to recognize the format.
  • Moved connection-management code from DiscoveryApp to a new DiscoveryConnectionsPool, since these can now be shared, depending on the versions enabled and ports configuration.

~~Depends on https://github.com/Pier-Two/Lantern.Discv5/pull/105 being published on Nuget~~

alexb5dh avatar Jun 23 '24 04:06 alexb5dh