Oskar Thorén
f8aff5756c
Accounting: Move flag to config and add basic test for accounting state ( #284 )
...
* Accounting: Add config flag (default to false)
Also fix bug where query function is called twice when flag is set.
* Accounting: test state update after store req
2020-11-21 13:31:48 +08:00
Oskar Thorén
010408aadb
Minimal accounting state PoC ( #278 )
...
* Add basic WakuSwap type and init
* Mount swap protocol and keep accounting state
* Flags off by default
2020-11-18 20:45:51 +08:00
Oskar Thorén
9518322198
Folder restructure ( #274 )
...
* Change folder structure to {v1,v2,common}/...
Addresses https://github.com/status-im/nim-waku/issues/261
* Update waku.nimble paths
* Flatten paths
* Fix import paths
* Pull out utils folder for nat
* Pull out waku_types to top level for v2
* Fix test import paths
* Remove old READMEs and replace with one liner
* Update README and split v1 and v2
* Skeleton READMEs
* Update README.md
Co-authored-by: Kim De Mey <kim.demey@gmail.com>
* Update README.md
Co-authored-by: Kim De Mey <kim.demey@gmail.com>
Co-authored-by: Kim De Mey <kim.demey@gmail.com>
2020-11-17 17:34:53 +08:00
Hanno Cornelius
24f4a087de
Feature/unsubscribe from content filter ( #255 )
...
Unsubscribe from a content topic
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-11-10 09:13:16 +02:00
Kim De Mey
0b70fe61a4
Add encoding/decoding of payload for Waku v2 ( #251 )
...
* Add encoding/decoding of payload for Waku v2
* Allow for Waku v1 payload in chat through compile time flag
2020-11-03 21:20:40 +01:00
Oskar Thoren
4b21bb6b9b
Default topic: waku -> /waku/2/default-waku/proto
2020-10-28 13:19:43 +08:00
Dean Eigenmann
45d57efaea
feature/add-filter ( #244 )
...
* started working on adding filter
* fix
* fix
* fix
* not subscribing
* fix
* filter
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-10-27 11:40:29 +01:00
Kim De Mey
aab93912ef
Cleanup the wakunode2 config ( #242 )
2020-10-22 17:04:17 +02:00
Dean Eigenmann
bfb29338a1
fixes/wait-for-start ( #228 )
...
* fixes subscribe to wait for start
* moved around
* added test
* fix
* eol
* rm
* removed as waku is default
* updated docs
* fix
* Update node.md
* Update node.md
* Update wakunode2.nim
* Update wakunode2.nim
* fix test
* rm
* fix
* fixes
* fixes
* fix
* fix
* using connect
* fix
* fix
* Update wakubridge.nim
* Update wakunode2.nim
2020-10-22 13:12:00 +02:00
Dean Eigenmann
5ddd8701c9
fix/content-type-int ( #235 )
...
* fixes
* fixes
* using a better topic
* fix
* fixed
2020-10-21 16:55:06 +08:00
Dean Eigenmann
b2edfe8dda
feature/start-protocol-command ( #209 )
...
* started working
* fixes
* rename start -> mount
* started logging
* mounting relay
* Update wakunode2.nim
* start of fixe
* fix
* fix
* fixes
* Update waku/node/v2/wakunode2.nim
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
* removed comment
* fix
* update
* changed the default
Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-10-20 10:36:27 +08:00
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 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
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
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