24 Commits

Author SHA1 Message Date
Franck Royer
69a3f73ee6
Self emit to see own messages 2021-04-22 14:47:43 +10:00
Franck Royer
6ee404c3ce
Skip the js-nim-js test as it fails in CI 2021-04-20 15:26:01 +10:00
Franck Royer
eec55b7b71
Add sleep for failing tests + logging 2021-04-20 15:15:18 +10:00
Franck Royer
818a8256e7
Wait for identify protocol to finish 2021-04-20 10:34:23 +10:00
Franck Royer
00e303ee0a
Increase test timeout 2021-04-20 10:13:13 +10:00
Franck Royer
e233ad8da4
Increase test timeouts 2021-04-20 09:38:30 +10:00
Franck Royer
e0debac165
Subscribe to default topic when starting, Remove dual Waku relay classes 2021-04-16 11:25:08 +10:00
Franck Royer
bc1ba3f4e4
Increase test timeout 2021-04-15 15:24:01 +10:00
Franck Royer
896462340a
Simplify API
At this stage, if waku relay is mounted then we always want to subscribe
to default topic.

We can re-introduce the flexibility once we know what matters to the user.

Resolves #17.
2021-04-15 14:45:14 +10:00
Franck Royer
9a305033bc
Use peerStore event to determine if identify is done 2021-04-15 14:44:35 +10:00
Franck Royer
503157401e
Allow passing transports, enable websocket transport 2021-04-15 13:56:07 +10:00
Franck Royer
31a45bf44e
Group imports 2021-04-15 13:56:07 +10:00
Franck Royer
1a4407b4f5
Increase test timeout 2021-04-15 13:56:06 +10:00
Franck Royer
4b31a6aaba
Wait for identify protocol to finish when dialing
Removes most `delay()`.
2021-04-13 22:43:13 +10:00
Franck Royer
b38634fd14
Remove warnings 2021-04-13 15:25:00 +10:00
Franck Royer
e534e0a4c8
Do not rely on nim-waku trace logs for test purposes 2021-04-13 09:51:41 +10:00
Franck Royer
79a9520348
Test cleanup 2021-04-09 16:05:43 +10:00
Franck Royer
27540fae47
Remove dupe test 2021-04-09 10:47:29 +10:00
Franck Royer
ff8e96b60c
Clean up imports 2021-04-01 18:27:15 +11:00
Franck Royer
ff9bfa7f0a
Override gossipsub function that checked for gossipsub peers
Instead, we need to check for waku relay peers.
2021-04-01 16:58:26 +11:00
Franck Royer
b487e7803b
Returns waku relay peers, not all waku peers across the various protocols 2021-04-01 16:44:28 +11:00
Franck Royer
433a490dec
Move waku relay codec and default topic to constants module 2021-04-01 16:41:49 +11:00
Franck Royer
7bd48b6220
Move all relay files under common folder 2021-04-01 16:37:05 +11:00
Franck Royer
ed5a363096
Ensure that heartbeat checks for waku, and not gossipsub, peers 2021-04-01 16:18:06 +11:00