Dean Eigenmann
5c25ed131a
enhancement/integrate-store-chat ( #230 )
...
* added store protocol
* setting peer
* fix
* line
* Update dingpu.md
* Update chat2.nim
* Update dingpu.md
* Update dingpu.md
* playing around
* fix
* fix
* fixes
* tested
* tested and finalized
* fix
* Update docs/tutorial/dingpu.md
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
* Update chat2.nim
* fix
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-10-15 13:56:53 +02:00
Oskar Thorén
e67301f1f6
Update dingpu.md
2020-10-15 17:30:56 +08:00
Oskar Thoren
e3099f1ab3
Revert "enhancement/integrate-store-chat ( #208 )"
...
This reverts commit 5c338ba731
.
Breaks chat2
2020-10-15 13:06:09 +08:00
Dean Eigenmann
5c338ba731
enhancement/integrate-store-chat ( #208 )
...
* added store protocol
* setting peer
* fix
* line
* Update dingpu.md
* Update chat2.nim
* Update dingpu.md
* Update dingpu.md
* playing around
* fix
* fix
2020-10-14 14:33:21 +02:00
Oskar Thorén
d6fdecafd8
Fix timing issue with subscribe in chat2 ( #226 )
...
- Support static node
- Ensure nodes are connected before subscribing
- Sleep to allow settling down before subscribing
- Default chat2 log to DEBUG
2020-10-14 18:34:29 +08:00
Kim De Mey
f31ab81546
Pass ReuseAddr flag for wakunode2 ( #223 )
2020-10-14 11:32:37 +08:00
Dean Eigenmann
c2024344cf
fix/protocol-strings ( #222 )
...
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-10-13 13:10:31 +02:00
Oskar Thorén
fce6d6c658
Add FAQ docs for cluster logs etc ( #217 )
2020-10-13 18:24:24 +08:00
Oskar Thorén
7920fab5fd
Bump submodules ( #220 )
2020-10-13 18:24:01 +08:00
Dean Eigenmann
9ac41b2eda
feature/filter-rpc-script ( #200 )
...
* started working
* fixes
* added tutorial
* added
* rm from description
2020-10-09 15:58:50 +02:00
Kim De Mey
7a3e18d4b0
And update example readme with correct make target
2020-10-09 09:32:05 +02:00
Kim De Mey
d2a9ca57f5
Update make targets in readme [skip ci]
...
And other corrections.
2020-10-09 09:30:15 +02:00
Kim De Mey
daeb736335
Cleanup warnings in v1 and split test target in Makefile ( #211 )
...
* Cleanup warnings in v1 and split test target in Makefile
* Remove protocol2 target and get chat2 build in CI
2020-10-08 11:10:45 +02:00
Dean Eigenmann
a599141666
Update dingpu.md
2020-10-07 17:13:27 +02:00
Kim De Mey
3182d1558e
Update setup-msys2 to v2 and increase max windows CI time to 90 mins
2020-10-07 15:57:01 +02:00
Kim De Mey
093efbf736
Begin of waku v2 rpc tests ( #210 )
2020-10-06 20:36:44 +02:00
Oskar Thorén
a6e94bf171
Node Info API call. ( #202 )
...
RPC node info
fix Makefile error
fix rpc query error
add rpc_node_info to scripts target
hm
node info -> info
consistent query node ref
Add info to node api
update node api docs
update node api doc for consistency and accuracy
minor
2020-10-06 11:33:28 +08:00
Dean Eigenmann
065016393a
fix/makefile ( #194 )
...
* rename make targets
* rename
* fixes
* fix
* fix
* added example 2
* fix
* fix
* silly me
2020-10-03 13:26:49 +08:00
Dean Eigenmann
a975bf6d70
feature/mount-filter-node-api ( #181 )
...
* started working on filter mount
* fixes
* fix indentation
* fixes
* save
* change
* rm
* Update waku_types.nim
* Update waku_filter.nim
* fixes
* fix
* using new filter
* did some testing stuff
* rm
* fix
* updated
* update doc
* fix
* fix
* unasynced
* fix
* w -> node
* rename
* move to content filter
* fix
* method
* rename
* renamed contentFilter -> contentFilters
* readded
* moved
* first test fix
* readded
* no more need
* fixes
* fix
* fix
* fixes
* todo
* removes mother fuck
* Update waku_types.nim
2020-10-02 14:48:56 +02:00
Oskar Thorén
75be455272
Basic end to end chat for Dingpu ( #195 )
...
* End to end chat example for Dingpu
Partially based on directchat example and previous example code.
Also adds existing cluster node to Nangang README.
* Update waku.nimble
* Update Makefile
Co-authored-by: Dean Eigenmann <7621705+decanus@users.noreply.github.com>
* Update Makefile
Co-authored-by: Dean Eigenmann <7621705+decanus@users.noreply.github.com>
2020-10-01 19:38:32 +08:00
Dean Eigenmann
3eb015ee7b
feature/use-crypto-rng ( #190 )
...
* fixes
* fix
* Update waku_types.nim
* fixes
* fix
* Improve the generateRequestId call
Co-authored-by: kdeme <kim.demey@gmail.com>
2020-09-28 23:44:14 +02:00
Dean Eigenmann
25b48bb99e
enhancement/store-message-handler ( #185 )
...
* started working on wrapper
* fixes
* changes
* fixes
* Update waku_store.nim
2020-09-25 16:02:13 +02:00
Dean Eigenmann
bcc931baf5
feature/rpc-query ( #186 )
...
* started working on rpc query
* rpc
* fixes
* setup
* made it work
* update
* Create store.md
* Update nangang.md
2020-09-25 13:35:32 +02:00
Dean Eigenmann
29706734a8
sync/filter-spec-alpha6 ( #184 )
2020-09-24 14:06:41 +02:00
Dean Eigenmann
1f68e63185
feature/store-query-node-api ( #174 )
...
* changes
* fix
* changes
* made the query function work
* added rpc
* whoops
* Update wakurpc.nim
* minor
* fixes
* update docs
* fix
* error handling
* end-to-end waku node test
* Update test_wakunode.nim
* Update waku/node/v2/rpc/wakurpc.nim
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
* Update test_wakunode.nim
* Update wakunode2.nim
* fix
* fix
* shorter
* rm echo
* fix
* added history peer
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-09-24 10:16:25 +08:00
Dean Eigenmann
e1414ac922
fix/make-filter-work ( #182 )
...
* starts to actually get the filter protocol working
* made it work
* Update all_tests_v2.nim
* Update test_waku_filter.nim
2020-09-23 06:19:37 +02:00
Jakub Sokołowski
fabccdeca8
fix Dockerfile by symlinking the wakunode binary
...
This is necessary becasue `COPY` creates a directory for some reason.
Resolves : #166
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-22 23:26:24 +02:00
Dean Eigenmann
1157b6e7c5
bump/dependencies-yet-again ( #180 )
2020-09-22 15:11:42 +02:00
Oskar Thorén
21283d291c
Don't crash on non WakuMessage in rpc subscribe ( #175 )
...
Instead, log stringified version. (This is used for other PoC right now.)
2020-09-22 10:14:39 +08:00
Dean Eigenmann
255e762536
fix/libp2p-protocol-inheritance ( #173 )
2020-09-18 15:28:19 +02:00
Dean Eigenmann
b25c1e10f2
fix/move-protocols-to-node ( #172 )
2020-09-18 12:14:52 +02:00
Dean Eigenmann
24e2f7dcdc
removed ( #171 )
...
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-09-18 11:48:18 +08:00
Dean Eigenmann
6b866490ad
fix/message-notifier-async ( #169 )
...
* made async
* fixes
* unused
* eol
2020-09-17 22:10:41 +02:00
Oskar Thorén
69e4ff8991
Bump relay protocol to beta1 ( #164 )
...
As of https://github.com/vacp2p/specs/pull/185
2020-09-17 19:24:27 +08:00
Dean Eigenmann
c55635e93e
feature/subscriptions-in-node ( #141 )
...
* test
* Update wakunode2.nim
* input from @kdeme
* Update wakunode2.nim
* moved
* Update waku_message.nim
* fixed
* fix
* fix
* fix
* fix
* fix
2020-09-17 10:17:52 +08:00
Oskar Thorén
a8dbf8a7b6
Bump submodules ( #157 )
...
* Upgrade all submodules
* Use stock standard_setup and remove our version
Switch no longer relies on Pubsub argument
* Fix peerId
* Add reference to WakuRelay in WakuNode
* Use WakuRelay ref directly instead of via switch
* Tweak standard switch sig
* Fix start_network peerid
* Import nim-libp2p utils test
* Use WakuRelay in test utils
* Fix utils imports
* Tweak
* Fix trigger self test
* Disable broken filter test
* Fix and amend logscope topics
* Make subscribe calls async to use await
* Add debug stuff to nimble file
* Await for subscribe content
* Sleeping in tests
* Local checkout fixes
* XXX: Try to use .PubSub on WakuRelay
* Revert "XXX: Try to use .PubSub on WakuRelay"
This reverts commit 3a3139e4cf
.
* Only using gossip seems to work
Subscribe for floodsub broken
* Fix await in examples
* Get rid of double publish, still need sleep
2020-09-16 12:23:10 +08:00
Dean Eigenmann
dfee0359af
fix/message-notifier-message-to-waku-message ( #159 )
...
* update message type
* cleanup
2020-09-16 10:59:10 +08:00
Jakub Sokołowski
8ba3db1a7e
dockerfile: parametrizing entrypoint doesn't work
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-11 14:02:13 +02:00
Dean Eigenmann
03895ffaf5
feature/subscribe-to-waku ( #152 )
...
* sub by default
* added
* fmt
* fix
* moved
* removed
* fix
2020-09-11 13:28:27 +02:00
Oskar Thorén
4447a93884
JSON RPC: Use WakuNode instead of WakuRelay ( #154 )
...
* Using Node publish for JSON RPC
Compiles, untested
* Subscribe and print waku message
* Readable string
* Use actual input
2020-09-11 15:49:45 +08:00
Jakub Sokołowski
34353cc96e
parametrize Dockerfile to make wakunode2
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-11 08:23:38 +02:00
Kim De Mey
1f3fe21bb9
Minimal changes of splitting API and CLI code to make import in wakurpc work ( #153 )
2020-09-11 12:16:45 +08:00
Dean Eigenmann
4a5acd224a
spec/alpha-v4 ( #151 )
2020-09-10 13:16:31 +02:00
Oskar Thorén
e5f0f36f01
Add basic rpc scripts to publish and subscribe ( #140 )
...
* Add basic rpc scripts to publish and subscribe
* Fix publish topic and payload script
Also change parameter name in waku relay due to weird shadowing of log
topic:
DBG 2020-09-09 12:07:54+08:00 waku_publish tid=8795 file=wakurpc.nim:30 topic=waku payload=@[]
DBG 2020-09-09 12:07:54+08:00 publish tid=8795 file=waku_relay.nim:65 topic=WakuRelay
Above should show topic=waku but it gets topic=WakuRelay from log scope
for some reason.
* Scripts take arguments
* Add basic nangang tutorial
* Update docs/tutorial/nangang.md
Co-authored-by: Kim De Mey <kim.demey@gmail.com>
* Update docs/tutorial/nangang.md
Co-authored-by: Kim De Mey <kim.demey@gmail.com>
* meh
* ENsure subscribe call succeeds
Co-authored-by: Kim De Mey <kim.demey@gmail.com>
2020-09-10 12:18:35 +08:00
Dean Eigenmann
76e0b49e2b
feature/mount-filter-protocol ( #125 )
2020-09-07 14:22:46 +02:00
Dean Eigenmann
a4c6caa62f
refactor/rename-filter-subscription ( #138 )
...
* fixes
* added
* added comment
2020-09-07 13:26:32 +02:00
Dean Eigenmann
5b4e429a19
enhancement/push-based-filter ( #136 )
...
* updated protobuf
* updated test
2020-09-07 11:12:27 +02:00
Dean Eigenmann
196c54d6ab
enhancement/filter-rpc-tests ( #130 )
...
* added a test for rpc filter
* rm
* fix
2020-09-03 16:42:56 +08:00
Kim De Mey
ea079cf7bd
Remove filter parts from relay as this is obsolete (moved to WakuNode) ( #132 )
2020-09-02 16:52:00 +02:00
Kim De Mey
2717209f05
Move filter.notify to WakuRelay handler and add test ( #128 )
2020-09-02 11:15:25 +08:00