Franck Royer
e9d51a6c57
Implement Waku store protocol
2021-04-09 16:54:30 +10:00
bors[bot]
3333a9c6c0
Merge #24
...
24: Remove noisy test logs r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@royer.one>
2021-04-09 06:19:36 +00:00
Franck Royer
79a9520348
Test cleanup
2021-04-09 16:05:43 +10:00
Franck Royer
eb9f1c154b
Remove noisy test logs
2021-04-09 16:05:02 +10:00
bors[bot]
ef6285a451
Merge #26
...
26: Provide status on waku protocol support r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@royer.one>
2021-04-09 06:04:57 +00:00
Franck Royer
9360159763
Provide status on waku protocol support
2021-04-09 16:04:29 +10:00
bors[bot]
71a324dd3c
Merge #25
...
25: Upgrade nim-waku r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@royer.one>
2021-04-09 01:58:31 +00:00
Franck Royer
5c2b10badd
Switch nim-waku submodule to `revert-debug` branch
2021-04-09 11:24:46 +10:00
Franck Royer
78292c471a
Enable nim-waku trace logs
2021-04-09 11:23:00 +10:00
Franck Royer
27540fae47
Remove dupe test
2021-04-09 10:47:29 +10:00
Franck Royer
5bc6173cb8
Upgrade nim-waku
2021-04-08 22:32:36 +10:00
bors[bot]
3be57632f7
Merge #22
...
22: Fix js to js test r=D4nte a=D4nte
Several flows in gossipsub check against the peer's protocol. We need to override these instances to ensure it checks against waku relay protocol instead.
Fixes #7 .
Co-authored-by: Franck Royer <franck@royer.one>
2021-04-01 07:34:18 +00: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
Franck Royer
95b88d2815
Check against gossipsub protocol was also done in publish
...
Meaning it would sometimes fail to recognize another waku node at
a subscriber of a topic, depending on timing with the `subscribe`
call.
2021-04-01 15:47:34 +11:00
Franck Royer
f35322967d
Clarify that incoming connections are actually not necessary
2021-04-01 15:46:14 +11:00
bors[bot]
62b27fddd6
Merge #9
...
9: chat example r=D4nte a=D4nte
Resolves #15
Co-authored-by: Franck Royer <franck@royer.one>
2021-04-01 02:57:41 +00:00
Franck Royer
5a967ecbcc
Avoid possible type name clash between js-waku and consuming apps
...
`Message` is a very generic name and JS does not offer strong namespace
boundaries. Using `WakuMessage` avoid name clashing with classes
of the consumer app.
2021-04-01 11:18:35 +11:00
Franck Royer
861bc2d0b4
Update readme to include chat app
2021-04-01 11:15:51 +11:00
Franck Royer
f15f4ff7f2
Reference GitHub issues
2021-04-01 11:15:51 +11:00
Franck Royer
58838ec898
Custom nick
2021-04-01 11:01:15 +11:00
Franck Royer
cca1d685dc
Implement chat message protobuf to support nick and time handles
2021-04-01 11:01:15 +11:00
Franck Royer
0f694cf8e1
Correct package name
2021-04-01 11:01:15 +11:00
Franck Royer
0b282be882
Move chat folder inside src
2021-04-01 11:01:15 +11:00
Franck Royer
d9decabae9
Seem to fix receiving messages
...
Looking at runs where receiving messages work vs doesn't, in the case it
does not work, js-chat is still receiving some messages as part
of the identify process after subscribing.
Whereas, when it works, the subscribe is done after those messages.
With a 2s sleep to delay the subscribe, it seems that it always works.
2021-04-01 11:01:15 +11:00
Franck Royer
b4e5d6d93c
Get peer connection details from command line
2021-04-01 11:01:14 +11:00
Franck Royer
c3cf6462cc
Pass listening addresses as argument
2021-04-01 11:01:14 +11:00
Franck Royer
d2f1995f3e
Can receive message over internet
2021-04-01 11:01:14 +11:00
Franck Royer
2b450cf2dd
Include js>nim>js test
2021-04-01 11:01:14 +11:00
Franck Royer
086623243e
Remove `StrictSign` hack
2021-04-01 11:01:14 +11:00
Franck Royer
f2c1c92353
Chat app example
2021-04-01 11:01:14 +11:00
Franck Royer
e167f4fba4
Decode payload to utf8 string
2021-03-29 15:08:31 +11:00
Franck Royer
46c41dc50f
Test connection triggered from js and add API
2021-03-29 15:08:31 +11:00
bors[bot]
fdff7c43b8
Merge #16
...
16: Update nim-waku, `0x` now optional in RPC requests r=D4nte a=D4nte
Confirms resolution of https://github.com/status-im/nim-waku/issues/415
Co-authored-by: Franck Royer <franck@royer.one>
2021-03-29 03:26:25 +00:00
Franck Royer
c4d3c7fb47
Update nim-waku, `0x` now optional in RPC requests
2021-03-29 14:25:03 +11:00
bors[bot]
46869e998d
Merge #6
...
6: Add more tests r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@royer.one>
2021-03-26 04:36:51 +00:00
Franck Royer
9a5acdc4ea
Build nim-waku if the binary cannot be executed
2021-03-26 14:35:18 +11:00
Franck Royer
162228150a
Add step to check wakunode2 binary
2021-03-26 14:12:16 +11:00
Franck Royer
a57f361b1e
Print log file name on failure
2021-03-26 13:09:44 +11:00
Franck Royer
1d248351c1
Wait a bit before subscribing
2021-03-26 13:09:44 +11:00
Franck Royer
e99d1c012c
Add logs to track nim-waku process
2021-03-26 13:09:44 +11:00
Franck Royer
30b0d5785a
Upload CI logs on failure
2021-03-26 13:09:44 +11:00
Franck Royer
e7ad81afee
Re-add Publish test
2021-03-26 09:37:01 +11:00
Franck Royer
4f58bde054
Add js to js subscribe test
2021-03-26 09:37:01 +11:00
Franck Royer
4473ad4cc7
Add tests where js initialize the connection to nim
2021-03-25 20:47:48 +11:00
bors[bot]
bfc1c45209
Merge #11
...
11: Setup bors r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@royer.one>
2021-03-25 09:36:22 +00:00