11 Commits

Author SHA1 Message Date
Zahary Karadjov
ccea6dc7b6 Whisper post-review changes (PR #52) 2018-11-28 02:23:03 +02:00
Zahary Karadjov
eca93509b4 Support for creating JSON dumps of all P2P network traffic
Enable by compiling with -d:p2pdump. A chronicles log file named
p2p_messages.json will be created in the working directory. This
file will be consumed by the upcoming Chronicles Tail GUI (more
details will be provided on the wiki of this repo).

Other changes:

* Removes the use of package_visible_types (only partially so far)
* Simplifies the new Snappy code a little bit
2018-11-10 02:18:00 +02:00
andri lim
21105f1558 cosmetics changes 2018-11-09 14:45:35 +02:00
andri lim
f590bf0154 add snappy compression 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
Zahary Karadjov
2785dcdd19 Don't use HTTP dependencies in Nimble due to nim-lang/nimble#543 2018-09-15 23:52:15 +03:00
Yuriy Glukhov
4b5cda9233 Temporary workaround to experimental problem 2018-08-29 18:28:01 +03:00
Yuriy Glukhov
695331737a Added eth_common to dependencies 2018-07-31 00:37:56 +03:00
Yuriy Glukhov
cf6b4d3084 Some fixes 2018-07-10 12:54:27 +03:00
cheatfate
6a961ce0b4 Fix nimble dependency on asyncdispatch2. 2018-06-18 12:05:38 +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