112 Commits

Author SHA1 Message Date
Dean Eigenmann
f57926bb19 enhancement/protobuf (#47)
* changed to data

* fix

* updated

* checkpoint

* sending protobuf

* working on tests

* bump

* fix

* fix

* fix

* testing

* Update test_waku.nim
2020-07-23 10:53:29 +08:00
Dean Eigenmann
8517755a85 feature/filter (#63)
* simplified filter

* add filter

* eol

* Update waku_protocol2.nim

* trigger GitHub actions

* comment

* fix import

* oops

* and

* init filters

* import tables
2020-07-22 18:29:52 +02:00
Dean Eigenmann
374554678a fix/github-actions-nproc (#70) 2020-07-22 16:16:08 +02:00
Dean Eigenmann
c807723ede fix/github-actions-submodules (#71)
* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml
2020-07-22 13:56:23 +02:00
Dean Eigenmann
8a1b757215 fix/github-actions-cache (#69)
* better cache

* rename

* test cache

Signed-off-by: decanus <7621705+decanus@users.noreply.github.com>

* fix

* windows cache

* rename
2020-07-22 12:48:53 +02:00
Dean Eigenmann
631fd11b52 fix/github-actions-windows (#68)
* added windows

* mv

* Update test_windows.yml

* converge

* indent
2020-07-21 20:12:03 +02:00
Dean Eigenmann
0849c2fced fix/github-actions-mac-linux (#67) 2020-07-21 19:14:12 +02:00
Dean Eigenmann
3440551080 enhancement/github-actions (#65)
* init file

* update

* fix
2020-07-21 10:21:51 -06:00
Dean Eigenmann
98488fe073 bump/libp2p (#62) 2020-07-21 14:19:31 +02:00
Kim De Mey
b0943725e4 Start adding waku v2 api calls (#50)
* Start adding waku v2 api calls

* Another attempt at Waku v2 API
2020-07-20 12:01:49 +02:00
Oskar Thorén
4be323642b Add basic example usage for Waku v2 (#52)
* Make Waku node async and gcsafe, hacky

...but the nimbus people are doing it!

* Add skeleton example usage

* Rename example to basic2 and add to Makefile

* Sketch out basic example and qualify imports etc

Loading config to start with.

Quite messy with imports/ambiguous identifiers/qualified names. Probably a
better way with exports (hide implementation details) and fully qualified names
by default?

* Example usage run, public run function

* Sketch out API usage

* Example basic RPC client usage

* waitFor run to compile

* Remove run and gsync markers; adjust example
2020-07-20 12:40:35 +08:00
Kim De Mey
e42cd95189 Bump vendor, fix builds and add v2 to CI (#45)
* Fix v2 builds, break v1 builds

* Fix build after nim-eth bump

* Add waku v2 build and tests to CI

* Fix parallel build issues by renaming
2020-07-13 12:08:03 +02:00
Dean Eigenmann
42fd0cc525 remove dir seperator as we already import os (#42) 2020-07-13 12:18:15 +08:00
Oskar Thoren
8c3561a574 Add current state for Node API 2020-07-07 12:54:31 +08:00
Oskar Thoren
a3c7aad216 Add skeleton node api docs 2020-07-07 11:57:59 +08:00
Oskar Thoren
c0f3927483 Update protocol identifier to /wakusub/2.0.0-alpha1 2020-07-07 11:23:20 +08:00
Oskar Thoren
7f1f282b47 Add Waku v2 to README 2020-07-07 10:46:52 +08:00
Oskar Thoren
3510b35217 Add back metrics and grafana server under insecure flag
Update RAEDME
2020-07-07 10:43:46 +08:00
Oskar Thoren
3c9e7fb8a8 More messages for FloodSub vs GossipSub scenario 2020-07-07 10:43:46 +08:00
Kim De Mey
81956b1b55 Cleanup metrics + accounting flag + bump deps (#37)
* Cleaner metrics logging + accounting behind flag + some cleanup

* Bump vendor
2020-07-02 23:52:54 +02:00
Ștefan Talpalaru
286d8d4b5a bump vendor/nimbus-build-system (#36) 2020-07-01 09:43:23 +02:00
Dean Eigenmann
b1e18f05e9 remove/generated-files (#35) 2020-06-30 19:31:00 +02:00
Kim De Mey
4a515f86a9 Refactor to abstract away the p2p request handler from mailserver (#34) 2020-06-30 15:29:02 +02:00
Dean Eigenmann
0a3ecf6da8 updated printing enode of peer (#32) 2020-06-19 15:53:06 +02:00
Dean Eigenmann
82cc06cd62 feature/accounting (#29)
* adds accounting experimentally

* updated

* sent

* updated

* print metrics

* var

* indent

* fix
2020-06-18 11:16:23 +08:00
Dean Eigenmann
48c2e6de34 Update waku.nimble (#31) 2020-06-16 14:22:24 +02:00
Oskar Thoren
f63d05e97a Break out sim into scenarios, one full node mesh vs light 2020-06-15 11:09:20 +08:00
Oskar Thoren
3abaf75593 Use gossipsub 2020-06-15 11:07:15 +08:00
Oskar Thorén
621ef4bff3 Upgrade submodules (#30)
* Update submodules

* Fix secureManager signature as part of libp2p upgrade
2020-06-15 11:05:37 +08:00
Kim De Mey
ecdc29d93a Use metrics with labels, fix #24 (#27) 2020-06-09 13:44:39 +02:00
6baab5163e use -d:chronicles_colors:none when creating docker image
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-04 15:02:56 +02:00
Kim De Mey
5bcef533cc Add genNodekey subcommand for #21 (#25) 2020-06-03 20:31:18 +02:00
Oskar Thoren
83abcf58d8 Propagating subscribes work, BUT at perf (need light node behavior) 2020-06-03 19:32:11 +08:00
Oskar Thoren
aeb34d68de Manual topic interest intermediate direct nodes work 2020-06-03 19:30:37 +08:00
Oskar Thoren
16b74ad80d parameterize floodsub/gossipsub 2020-06-02 19:27:53 +08:00
Oskar Thoren
5663e5aff5 quicksim unique messages 2020-06-02 19:27:20 +08:00
Oskar Thoren
0e12edd107 Quicksim failing example 2020-06-02 12:30:29 +08:00
Oskar Thoren
83ea3a5349 Adjust logs 2020-06-02 12:30:29 +08:00
Oskar Thorén
f87bf39e39 FloodSub -> GossipSub (#19)
Add GossipSub methods
2020-06-01 11:42:16 +08:00
Oskar Thoren
2d3587c54d Update nim-libp2p and other submodules
Need to use latest libp2p for GossipSub bug fix, safer to update all

Use MultiAddr.tryGet() per resultification upstream
2020-06-01 11:40:55 +08:00
Oskar Thorén
c2da1b0170 Update all vendor (#23)
* Upgrade all vendors

* Fix subscribeTopic signature
2020-05-29 09:41:13 +02:00
Oskar Thoren
743c997dad Hardcode all six nodes listen topic, flooding 2020-05-28 11:52:57 +08:00
Oskar Thoren
291e6356f8 Maybe connect to multiple peers
Now connnectedpeers is (divide by two?): 0/8/7/6/5/4. Progress?
2020-05-28 11:40:41 +08:00
Oskar Thoren
7460d4b938 WIP try to fix port shift and multiple address mismatch 2020-05-28 11:28:44 +08:00
Oskar Thoren
4de41be423 Remove unused stuff from wakunode 2020-05-28 11:27:01 +08:00
Oskar Thoren
817d887c6a Fix mesh bug indent 2020-05-28 10:58:37 +08:00
6e927b2a82 add a Dockerfile for creating nim-waku images
Also I remove old Dockerfile at waku/node/v1/docker.

Images are uploaded to our Docker Hub account:
https://hub.docker.com/r/statusteam/nim-waku

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-27 12:51:20 +02:00
Oskar Thoren
b6d5425a84 Add support for mesh topology 2020-05-27 13:37:27 +08:00
Oskar Thoren
5d9faa621e 6 nodes in quicksim and post 100 messages 2020-05-27 12:33:53 +08:00
Oskar Thoren
cc0333f4b7 More cleanup 2020-05-27 12:25:02 +08:00