Commit Graph

159 Commits

Author SHA1 Message Date
Franck Royer 7ef0830620
Re-add nim-waku submodule 2021-03-19 11:23:34 +11:00
Franck Royer e7669c556d
Remove corrupted submodule 2021-03-19 11:12:56 +11:00
Franck Royer 6f8c5477ab
Update submodule 2021-03-19 10:45:44 +11:00
Franck Royer 345a2ba7b3
Skip failing test
Investigation is harder that first thought.
Skipping this so we can track a green CI and not introduced more bugs
by mistake.
2021-03-19 10:41:40 +11:00
Franck Royer b5c75f96ee
Use ref HEAD to identify cache
The .gitsubmodules does not change when a submodule is updated.
The cache should be updated whenever nim-waku is updated.
2021-03-19 10:41:40 +11:00
Franck Royer 1797bde72d
ContentTopic is now uint32 as per spec 2021-03-18 20:00:41 +11:00
Franck Royer 5c29394937
Migrate to jest for better debugging experience
ava is not yet integrated in popular IDEs.
2021-03-17 15:34:58 +11:00
Franck Royer 33a6176181
pubsub config is specific to waku relay 2021-03-17 14:30:35 +11:00
Franck Royer eb06f056c0
Work around nim-waku signing policy bug 2021-03-16 15:41:44 +11:00
Franck Royer 46104d7d57
Remove license
The Licensing has not yet been decided.
2021-03-16 15:31:33 +11:00
Franck Royer b2632af04b
Remove fixed time delays 2021-03-16 13:45:18 +11:00
Franck Royer 953aeea053
Implement reception of messages over waku-relay 2021-03-16 13:39:34 +11:00
Franck Royer 57fa974812
rln shared lib is needed by nim-waku bin 2021-03-15 18:20:30 +11:00
Franck Royer cc84fb1c93
Add explanations around nim-waku setup 2021-03-15 18:04:17 +11:00
Franck Royer b53bf4ddca
Correct comment 2021-03-15 17:57:31 +11:00
Franck Royer 4c34420ccc
Remove TODO 2021-03-15 17:53:24 +11:00
Franck Royer 267cc69989
Cache nim-waku binary 2021-03-15 17:50:38 +11:00
Franck Royer f0233f7696
Manually patch identify protocol 2021-03-15 17:29:48 +11:00
Franck Royer fe7daebbb0
Payload is now always a buffer 2021-03-15 16:26:07 +11:00
Franck Royer d9a7166098
Fix spelling 2021-03-15 16:24:08 +11:00
Franck Royer 3115874a05
Make testing in CI possible
By adding nim-waku as a submodule and building it as part of the tests.
2021-03-15 16:22:26 +11:00
Franck Royer e3a488bbf5
Fix spelling 2021-03-15 15:45:41 +11:00
Franck Royer cbd3151fda
Correct npm syntax 2021-03-15 15:39:55 +11:00
Franck Royer f6bec18638
Install protoc
used by bufbuild
2021-03-15 15:35:42 +11:00
Franck Royer 6558ac60bb
Force identify nim node to support waku protocol 2021-03-15 15:34:56 +11:00
Franck Royer 589ca0258b
Uses latest buf 2021-03-15 15:23:54 +11:00
Franck Royer 21c1aafa4d
Install bufbuild
To get the `buf` binary
2021-03-15 14:56:06 +11:00
Franck Royer 9aa3f1340d
Cache npm deps 2021-03-15 14:50:52 +11:00
Franck Royer 40fe76a15e
CI skeleton
It is expected to fail at this stage.
2021-03-15 14:42:36 +11:00
Franck Royer 90390cd67c
Update readme 2021-03-15 14:35:10 +11:00
Franck Royer a6cbdf3117
Segregate logs files in single directory 2021-03-15 13:38:36 +11:00
Franck Royer 548c50668a
test: Send message from js node to nim node 2021-03-15 13:27:50 +11:00
Franck Royer c99e02af20
Allow waiting for nim waku logs from test 2021-03-15 13:25:14 +11:00
Franck Royer b7ce121955
Replace delay by waiting on correct event 2021-03-15 11:35:30 +11:00
Franck Royer eb874a956b
Only node receiving message needs to subscribe 2021-03-15 11:23:20 +11:00
Franck Royer 4c6c54cf87
Nim node subscribes to default topic as soon as it connects to js node 2021-03-15 10:28:32 +11:00
Franck Royer fdbcbe0896
Allow multiple wakunodes to be started in parallel 2021-03-12 17:08:59 +11:00
Franck Royer a0d6784e3c
Use multiaddr lib instead of string parsing 2021-03-12 17:08:58 +11:00
Franck Royer a7c666f108
Fix WakuMessage (de)serialisation 2021-03-12 17:08:58 +11:00
Franck Royer 27c433f750
Test hex conversion functions 2021-03-12 10:44:47 +11:00
Franck Royer ee38df8757
Nim-interop: nim sends message (not working) 2021-03-12 10:35:50 +11:00
Franck Royer 8ed47b2cf7
Nim-interop: subscribe
At this stage, we are only able to check that the
subscription works on js side: it confirms that
the nim node is considered as subscribing to the same
topic.
2021-03-12 09:46:47 +11:00
Franck Royer f0c9c3ef50
Check peer ids on both side when connecting 2021-03-11 15:02:29 +11:00
Franck Royer 057f5f80ab
test: Nim-waku connects to JS (success) 2021-03-11 11:11:37 +11:00
Franck Royer a6c1fae5a6
test: Nim-waku connects to JS (wip) 2021-03-11 10:54:35 +11:00
Franck Royer 4f63bd5835
test: Connect to nim waku 2021-03-10 17:39:53 +11:00
Franck Royer b8c63355a5
Ensure waku relay node does not use a sub protocol
At the moment we do not assert that we publish messages over waku relay
protocol (not sure this assertion is possible).
By asserting we do not register any sub (pubsub, gossipsub, floodsub)
protocols, we can be (more) confident that this
protocols are not be used behind the scenes.
2021-03-10 16:25:54 +11:00
Franck Royer 4329b8006e
Use waku messages over waku relay 2021-03-10 16:22:49 +11:00
Franck Royer 070847d2c0
Use waku relay interface to subscribe and publish messages 2021-03-10 15:15:36 +11:00
Franck Royer 12c2a93c7f
Register waku protocol instead of gossip sub 2021-03-10 15:08:27 +11:00