32 Commits

Author SHA1 Message Date
Kim De Mey
2a77ecc2bf V2cleanup (#115)
* Cleanup of warnings + imports, etc.

* Remove connected_peers metric as there is already libp2p_pubsub_peers
2020-08-31 11:32:41 +08:00
Dean Eigenmann
cfc7575ea7 enhancement/request-id-to-uuid (#113) 2020-08-28 13:07:52 +02:00
Dean Eigenmann
a13526fe87 feature/store-protocol (#102)
* started working on store protocol

* eol

* update

* fix

* encoding

* started

* started working on decoding

* fixes

* started fleshing out tests

* testing

* encode / decode test

* eol

* fix test

* fmt

* errors

* testing entire rpc now

* fix

* format

* added comment

* removed StoreRPC

* added comment

* readded the store rpc

* updated

* fix tests
2020-08-27 10:44:09 +08:00
Oskar Thorén
b96a0931a8 Refactor: Waku protocol -> Waku relay protocol (#104)
* Refactor: Waku protocol -> Waku relay protocol

Including updating protocol string.

Addresses https://github.com/status-im/nim-waku/issues/101

* Refactor: WakuSub -> WakuRelay
2020-08-26 19:28:24 +08:00
Dean Eigenmann
af7e29cbfa fix/filters (#79)
* fixes, using rpc msgs

* clean

* moved
2020-07-27 12:25:03 +02:00
Oskar Thorén
32bddd2ad6 Node: Separate run into create Wakunode and start (#59) 2020-07-24 09:39:58 +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
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
Oskar Thoren
c0f3927483 Update protocol identifier to /wakusub/2.0.0-alpha1 2020-07-07 11:23:20 +08: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
82cc06cd62 feature/accounting (#29)
* adds accounting experimentally

* updated

* sent

* updated

* print metrics

* var

* indent

* fix
2020-06-18 11:16:23 +08:00
Oskar Thoren
3abaf75593 Use gossipsub 2020-06-15 11:07:15 +08:00
Kim De Mey
ecdc29d93a Use metrics with labels, fix #24 (#27) 2020-06-09 13:44:39 +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 Thorén
f87bf39e39 FloodSub -> GossipSub (#19)
Add GossipSub methods
2020-06-01 11:42:16 +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
64685135ae Remove unused imports 2020-05-27 12:09:05 +08:00
Oskar Thoren
f1d9103ff1 Basic metrics print node metrics 2020-05-27 12:00:50 +08:00
Oskar Thorén
f901a26fba Sleep and debug quicksim to get clearer view (#14) 2020-05-26 12:02:25 +08:00
Oskar Thoren
6eb2e6eadb Subscribe RPC and quicksim WIP; hacky in-line handler 2020-05-22 15:35:31 +08:00
Oskar Thoren
ec7fad6e22 Clean up logging and imports 2020-05-15 11:35:32 +08:00
Oskar Thoren
f7b70f81e7 Fix SIGSERV error by initializing child methods 2020-05-15 11:29:01 +08:00
Oskar Thoren
e03a940e9e Remove old test file 2020-05-14 10:43:30 +08:00
Oskar Thoren
73f8fc3641 Move waku test to test folder; reset with floodsub test 2020-05-14 10:28:34 +08:00
Oskar Thoren
e66d8c4730 Fix initPubSub call 2020-05-11 12:20:07 +08:00
Oskar Thoren
ddddf0fdc0 Move waku test out; basic protocol handler 2020-05-11 12:05:28 +08:00
Oskar Thoren
b2636c4c77 Import standard_setup and utils
Will be used for new PubSub protocol
2020-05-10 15:13:26 +08:00
Kim De Mey
910fc605d2 Move and update Readme.md (#9) 2020-05-08 22:39:16 +02:00
kdeme
50e1a2680d Move waku_protocol + tests from nim-eth 2020-05-01 14:43:25 +02:00
kdeme
81edd57d7a Set up repo to make use of nimbus-build-system 2020-05-01 11:29:16 +02:00