Commit Graph

3 Commits

Author SHA1 Message Date
Zahary Karadjov ccea6dc7b6 Whisper post-review changes (PR #52) 2018-11-28 02:23:03 +02:00
andri lim c3a49d187d fixes wrong logic 2018-11-09 14:45:35 +02:00
Zahary Karadjov 7828ef0481 Initial implementation of the LES protocol and its flow control.
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.
2018-10-16 02:52:11 +03:00