gabrielmer
41bc582823
stop connecting to out peers until target is reached ( #2823 )
2024-06-20 12:16:15 +02:00
gabrielmer
cda18f96ca
fix: update peers ENRs in peer store in case they are updated ( #2818 )
2024-06-19 17:29:55 +02:00
gabrielmer
93e9ba22aa
fix: revert "chore: adding observers for message logging ( #2800 )" ( #2815 )
2024-06-17 13:14:05 +02:00
Darshan K
3b27aee820
fix: mount metadata in wakucanary ( #2793 )
...
* chore: integrate cluster id and shards to waku node.
2024-06-14 18:29:42 +05:30
Akhil
0561e5bd45
feat: RLN proofs as a lightpush service ( #2768 )
2024-06-13 21:10:00 +04:00
gabrielmer
b52286524b
chore: adding observers for message logging ( #2800 )
2024-06-13 18:35:56 +02:00
Ivan FB
f5d87c5b23
chore: set msg_hash logs to notice level ( #2737 )
2024-06-10 15:56:55 +02:00
Darshan K
55a87d21d6
fix: more detailed logs to differentiate shards with peers ( #2794 )
2024-06-10 13:40:18 +05:30
gabrielmer
21a4b5bd4a
unifying clusterId to be uint16 ( #2777 )
2024-06-05 15:32:35 +02:00
Ivan FB
401630ee24
chore: waku_discv5, peer_manager - add more logs help debug discovery issues ( #2705 )
2024-05-16 22:30:51 +02:00
Ivan FB
78132dc12e
chore: generic change to reduce the number of compilation warnings ( #2696 )
2024-05-16 22:29:11 +02:00
Akhil
9dfdfa2774
feat: Added message size check before relay for lightpush ( #2695 )
2024-05-15 14:13:13 +04:00
Álex Cabeza Romero
49dd6c1989
test(peer-and-connection-management): Implement tests ( #2566 )
...
* Implement peer and connection management tests.
* Fix multiple peers added on initialisation.
* Remove clusterId parameter from newTestWakuNode.
2024-05-13 17:25:44 +02:00
gabrielmer
7d4857ea6c
chore: closing ping streams ( #2692 )
2024-05-13 12:07:57 +02:00
NagyZoltanPeter
026d804a0d
feat: Added flexible rate limit checks for store, legacy store and lightpush ( #2668 )
...
* Added flexible rate limit checks for store, legacy store and lightpush. Also added rate and traffic metrics.
* Fix chat2 after WakuLegacyStoreCodec rename
* Update waku/common/ratelimit.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* Update waku/common/ratelimit.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* Update waku/waku_store_legacy/protocol.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* Fix review findings, added limit to debug logs
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-05-09 20:07:49 +02:00
Simon-Pierre Vivier
d700006a6a
feat: store v3 return pubsub topics ( #2676 )
2024-05-08 15:35:56 -04:00
Ivan FB
2463527b24
refactor: big refactor to add waku component in libwaku instead of onlu waku node ( #2658 )
2024-05-03 14:07:15 +02:00
Ivan FB
404810aa8d
refactor: simplify app.nim and move discovery items to appropriate modules ( #2657 )
2024-05-01 21:13:08 +02:00
Simon-Pierre Vivier
e03d1165e6
fix: store v3 validate cursor & remove messages ( #2636 )
2024-05-01 14:47:06 -04:00
Ivan FB
d5e0e4a9b1
chore: log enhancement for message reliability analysis ( #2640 )
...
* log enhancement for message reliability analysis
The next modules are touched:
- waku_node.nim
- archive.nim
- waku_filter_v2/protocol.nim
- waku_relay/protocol.nim
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2024-05-01 10:25:33 +02:00
Ivan FB
4a110f65ff
refactor: metrics server. Simplify app.nim module ( #2650 )
2024-04-30 15:07:17 +02:00
Ivan FB
6382dedb42
waku_node: first of all stop the waku-switch when stopping the waku-node ( #2651 )
...
This is aimed to avoid having flaky tests
2024-04-30 12:52:11 +02:00
Ivan FB
069b23f67e
waku_node.nim: simplify stop proc ( #2645 )
...
There is no need to explicitly stop mounted libp2p protocols
because they are already being stopped after the switch.stop()
is being called
2024-04-29 17:47:18 +02:00
NagyZoltanPeter
2a4c0f1543
chore: Enabling to use a full node for lightpush via rest api without lightpush client configured ( #2626 )
...
* Enabling to use a full node for lightpush via rest api without light push client configured
2024-04-26 12:42:47 +02:00
Simon-Pierre Vivier
843fe217fa
fix: proto field numbers & status desc ( #2632 )
2024-04-25 15:43:21 -04:00
Simon-Pierre Vivier
0b0fbfad5c
feat: store v3 ( #2431 )
2024-04-25 09:09:52 -04:00
NagyZoltanPeter
6d135b0d1b
chore: Separation of node health and initialization state from rln_relay ( #2612 )
...
* Separation of node health and initialization state from rln_relay status. Make (only) health endpoint avail early and install others in the last stage of node setup.
* Proper json report from /health, adjusted and fixed test, added convenient script for checking node health
* Stop wakunode2 if configured rest server cannot be started
* Fix wakuRlnRelay protocol existence check
* Fix typo
* Removed unused imports from touched files.
* Added missing /health test for all
2024-04-23 18:53:18 +02:00
Prem Chaitanya Prathi
e61e4ff90a
fix: don't use WakuMessageSize in req/resp protocols ( #2601 )
...
* fix: don't use WakuMessageSize in req/resp protocols
2024-04-20 09:10:52 +05:30
Ivan FB
828583adc2
refactor: start moving discovery modules to waku/discovery ( #2587 )
2024-04-17 21:48:20 +02:00
NagyZoltanPeter
a00f350cd1
feat: Added simple, configurable rate limit for lightpush and store-query ( #2390 )
...
* feat: Added simple, configurable rate limit for lightpush and store-query
Adjust lightpush rest response to rate limit, added tests ann some fixes
Add rest store query test for rate limit checks and proper error response
Update apps/wakunode2/external_config.nim
Move chronos/tokenbucket to nwaku codebasee with limited and fixed feature set
Add meterics counter to lightpush rate limits
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2024-04-15 15:28:35 +02:00
Alvaro Revuelta
e861317209
chore: remove deprecated legacy filter protocol ( #2507 )
...
* chore: remove deprecated legacy filter protocol
* fix: do not use legacy import in test
* fix: remove legacy test references
* fix: more test fixes, starting filter client
* fix: sigh. more references to remove.
* fix: fix dereferencing error
* fix: fix merge mess up
* fix: sigh. merge tool used tabs.
* fix: more peer manager tests needed fixing
---------
Co-authored-by: Hanno Cornelius <hanno@status.im>
Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
2024-03-25 18:07:56 +00:00
Simon-Pierre Vivier
94ff5eab68
fix: remove subscription queue limit ( #2551 )
2024-03-25 10:33:01 -04:00
Ivan FB
2173fe2243
fix: peer_manager - extend the number of connection requests to known peers ( #2534 )
...
* peer_manager: limit the max num out conns from within the conn loop
2024-03-19 19:07:03 +01:00
Álex Cabeza Romero
33774fada0
fix(2491): Fix metadata protocol disconnecting light nodes ( #2533 )
...
* Fix metadata protocol disconnecting light nodes.
* Implement test cases.
2024-03-19 16:18:52 +01:00
Ivan FB
3ba4378cbe
Generic re-style with nph 0.5.1 ( #2396 )
2024-03-16 00:08:47 +01:00
Álex Cabeza Romero
f436240d53
test(peer-exchange): Implement peer exchange tests ( #2464 )
...
* Implement peer exchange tests.
* Refactor, and remove duplicated tests.
* feat(wakunode): Resultify fetch peer exchange peers (#2486 )
2024-03-14 17:48:09 +01:00
Vaclav Pavlin
2c1391d304
chore: add 150 kB to msg size histogram metric ( #2430 )
2024-03-14 12:38:02 +01:00
Alvaro Revuelta
5a225809cd
fix: enable autosharding in any cluster ( #2505 )
2024-03-13 10:58:13 +01:00
Simon-Pierre Vivier
505479b870
feat: archive update for store v3 ( #2451 )
2024-03-12 07:51:03 -04:00
gabrielmer
dcc88ee0b2
chore: migrating logic from wakunode2.nim to node_factory.nim ( #2504 )
2024-03-08 16:46:42 -06:00
gabrielmer
361fe2cdc7
chore: moving node initialization code to node_factory.nim ( #2479 )
2024-03-02 18:59:53 -06:00
Simon-Pierre Vivier
91e3f8cde6
fix: notify Waku Metadata when Waku Filter subscribe to a topic ( #2493 )
2024-03-01 08:01:37 -05:00
Ivan FB
501c92e2c3
waku_metrics: change log interval from 30'' to 10' ( #2428 )
2024-02-19 22:25:20 +01:00
Hanno Cornelius
ce151efc36
feat: prioritise yamux above mplex ( #2417 )
...
* update libp2p submodule
* feat: prefer yamux to mplex
2024-02-17 19:46:01 +00:00
Aaryamann Challani
22026b7e89
fix(rln-relay): graceful shutdown with non-zero exit code ( #2429 )
...
* fix(rln-relay): graceful shutdown with non-zero exit code
* fix: missed args
* fix: exception str
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* fix: remove old comment
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-02-15 16:55:08 +05:30
richΛrd
1b4026673a
feat: add yamux support ( #2397 )
2024-02-06 16:33:13 -04:00
gabrielmer
59d8b6204f
feat: running validators in /relay/v1/messages/{pubsubTopic} ( #2373 )
2024-02-01 18:16:10 +01:00
Simon-Pierre Vivier
edca1df1a8
feat: shard aware relay peer management ( #2332 )
...
note that this feature is behind a config flag. `--relay-shard-manager`
2024-01-30 07:28:21 -05:00
gabrielmer
bb58a63aa1
fix: adding rln validator as default ( #2367 )
2024-01-29 16:11:26 +01:00
gabrielmer
f841454edc
chore: improve POST /relay/v1/auto/messages/{topic} error handling ( #2339 )
2024-01-18 13:49:13 +01:00