mirror of
https://github.com/status-im/nim-eth-p2p.git
synced 2025-01-13 08:14:25 +00:00
7828ef0481
This also restores the old module structure of having separate `peer_pool` and `rlpx` modules. This is made possible by the new Nim package `package_visible_types` (please refer to its README for an explanation). Also introduces more error handling in the low-level RLPx routines. All detected errors will result in immediate disconnection of the corresponding peer, which may be detected in the protocols though the `onPeerDisconnected` event handler.