Commit Graph

19 Commits

Author SHA1 Message Date
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
Jacek Sieka 98df7916b2
readme: update license 2018-09-05 12:47:38 -06:00
Jacek Sieka 0909540a92
ci: update
readme: fix license, badges
2018-09-04 22:24:14 -06:00
Zahary Karadjov 6ac6397d33 Added documentation 2018-07-09 20:00:34 +03:00
Zahary Karadjov fac8bbd917 WIP refactor the rlpxProtocol macro
* Make all handlers async

* Added a new `requestResponse` construct that allows you to wait
  for the results of a particular request

* Introduced an optional `NetworkState` type for the protocol

* The semantics of `nextMsg` has changed. See the notes in the README
2018-07-06 13:24:01 +03:00
Zahary Karadjov 812c6284c0 rename package to eth_p2p to make it consistent with our naming scheme 2018-06-16 21:58:41 +03:00
alexm-status a06bd8789e
Update README.md 2018-05-30 14:35:02 -07:00
alexm-status 50a9caa1b2
Update README.md 2018-05-27 14:14:01 -07:00
alexm-status 23e394748b
Update README.md 2018-05-23 17:40:08 -07:00
mratsim 07fadbc9bd Trigger Appveyor rebuild (add license badges) 2018-05-08 15:34:54 +02:00
cheatfate caf273228e Added copyright headers. 2018-04-30 21:08:18 +03:00
Zahary Karadjov 8c79997672 Document the RLPx public APIs 2018-04-13 16:05:17 +03:00
cheatfate f2c3a2e475 One more attempt to fix badges. 2018-03-30 19:27:59 +03:00
cheatfate c7f2af2ec0 Fix badges. 2018-03-30 19:15:10 +03:00
cheatfate b9824ad557 Fix badges. 2018-03-30 19:04:35 +03:00
Yuriy Glukhov 88cdff0c69 Update license info, added .gitignore 2018-03-30 17:17:34 +03:00
cheatfate 35c55c9517 Add appveyor.yml badge. 2018-03-28 12:32:57 +03:00
cheatfate 2fc869e81c Add build icon. 2018-03-28 10:40:30 +03:00
Eugene Kabanov bb21c17217
Initial commit 2018-03-28 02:06:51 +03:00