kdeme
4976bd9fb9
Replace getCurrentException and getCurrentExceptionMsg
2019-12-02 23:35:34 +02:00
kdeme
bc2b76f09a
cleaner solution for sharing the queue
2019-11-21 19:35:27 +02:00
kdeme
a8a55f16dc
Implement quick Waku - Whisper bridge by sharing the queue + adjust test
2019-11-21 19:35:27 +02:00
kdeme
8d45b22033
Remove duplicated code in waku_protocol by importing whisper_types
2019-11-21 19:35:27 +02:00
Oskar Thoren
b4638a5867
wkk -> waku rlpx based on discussion
2019-11-21 19:35:27 +02:00
Oskar Thoren
4be5382a15
Waku version 0 (after fix-119)
2019-11-21 19:35:27 +02:00
Oskar Thoren
c841906593
Waku Fix crash due to zero version
2019-11-21 19:35:27 +02:00
Oskar Thoren
5281e46634
Waku: rename capability to wkk
...
According to `doc/p2p.md` capability should be three letters. I can't see this
in https://github.com/ethereum/devp2p/blob/master/rlpx.md#capability-messaging
though, but better safe than sorry.
This also dismabiguates and stays somewhat consistent in vocabulary:
Whisper -> Waku
whisper -> waku
shh -> wkk
2019-11-21 19:35:27 +02:00
Oskar Thoren
243d2d8b27
waku: whisper-> waku; version 0
2019-11-21 19:35:27 +02:00
Oskar Thoren
2c49d4adb8
waku/0 init
2019-11-21 19:35:27 +02:00
kdeme
9c19f1e5b1
First go at splitting up Whisper protocol layer and message structures
2019-11-19 11:03:49 +00:00
kdeme
77834d1df0
Beginning of bzz protocol + simple handshake tester
2019-10-17 21:59:32 +09:00
kdeme
c64a370fe7
Whisper documentation updates
2019-10-03 17:08:39 +03:00
kdeme
5bc7612e2f
Add bloom size check and no longer raise on sendMsg failures
2019-10-03 16:38:14 +03:00
kdeme
9dccfe27f4
Use stew/endians2 for endianness conversion
2019-10-03 16:38:14 +03:00
Zahary Karadjov
1fe3de6c39
Changes required for the latest ETH2 spec
2019-08-07 06:13:45 +03:00
kdeme
3088cb462e
Support skip and reverse in the GetBlockHeaders request + reactivate getBlockBodies
2019-07-08 18:03:55 +03:00
Jacek Sieka
75c7c62651
std_shims -> stew
2019-07-07 11:56:01 +02:00
kdeme
13a32811aa
Fix leading zeroes bug + add tests from geth and parity
2019-06-27 12:03:55 +02:00
Zahary Karadjov
bac87ff6d2
Restore the compilation of Nimbus by restoring the support for p2pProtocol decorators
2019-06-24 05:12:23 +03:00
Zahary Karadjov
e4ec051fc6
Take advantage of the new shared DSL helpers to simplify the RLPx back-end implementation
2019-06-24 05:12:22 +03:00
Zahary Karadjov
f761889518
Refactored the p2pProtocol macro to eliminate most code duplication in the backends
2019-06-24 05:12:22 +03:00
kdeme
dc02a5b28d
Fix two AssertionErrors from being raised all the way up
2019-06-14 16:15:09 +03:00
kdeme
46255c31d1
Make use of peer.connectionState in whisper and blockchain sync + add note in docs
2019-06-12 16:30:01 +03:00
kdeme
0966a4e9ca
Adjust deprecated use of sleepAsync
2019-06-11 15:31:00 +02:00
kdeme
b977996b0a
Fix unhandled exceptions
2019-05-15 15:10:11 +03:00
kdeme
442c3d9f7b
More whisper changes ( #43 )
...
* Make messages with invalid ID a catchable error as we should not disconnect on this
* Add unimplemented message IDs used by Status
* Make whisper log less verbose + add comment on duplicate messages
* Cleanup + add documentation
2019-04-26 07:36:54 -06:00
kdeme
c4b25ba708
Quick fix for overflow on 32bit systems
2019-04-12 16:43:43 +02:00
kdeme
ac766bf7b3
Fix decoded dst bug + add tests
2019-04-08 14:28:50 +03:00
kdeme
6e7822e210
Change default minimum PoW to same value as geth
2019-04-08 14:28:50 +03:00
kdeme
c599f7649d
Add powTarget and other changes for Whisper RPC implementation
2019-04-08 14:28:50 +03:00
Zahary Karadjov
abafbc3a73
Fix the build of Nimbus
2019-03-26 18:28:54 +02:00
Zahary Karadjov
dc2b6170b5
Improved error-handling; Timeouts in all handshakes
2019-03-26 17:32:17 +02:00
Jacek Sieka
fcc9dec015
whisper: fix timeout
2019-03-25 13:44:17 -06:00
Zahary Karadjov
f0bf0570d1
Support compiling with json logging; Drop package_visible_types
2019-03-25 02:10:09 +02:00
Ștefan Talpalaru
9146e8e2f0
assert() -> doAssert()
2019-03-13 23:15:26 +01:00
Ștefan Talpalaru
4329cc1cb6
AbstractChainDb -> AbstractChainDB ( #18 )
2019-03-12 19:37:04 -06:00
Zahary Karadjov
3efec171a6
Make the APIs compatible with libp2p
...
Lib2P2 handles RPC requests and responses with separate streams
while DEV2P2 is relying on tagged messages transmitted over a
single stream. To cover both models through the same application
code, we introduce a new `response` variable in the request handlers.
The user is supposed to issue a call to `response.send` in order to
reply to the request. Please note that the `response.send` signature
is strongly typed and depends on the current message.
2019-03-12 13:36:39 +02:00
Mamy Ratsimbazafy
07cf801b97
Rebrand asyncdispatch2 to chronos ( #2 )
...
* Rebrand asyncdispatch2 to chronos
* fix nimble path to chronos
2019-02-06 17:01:04 +01:00
Yuriy Glukhov
d9b0c48c67
Fixed rlp import
2019-02-05 18:22:21 +02:00
Yuriy Glukhov
e75a00f86e
Moved eth-p2p to eth
2019-02-05 17:40:29 +02:00