Darshan K
d41280cc7a
chore: unit test for duplicate message push ( #2852 )
...
* chore: add unit test for testing duplicate message push with timedcache
* chore: update according to better naming convention
---------
Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
2024-06-28 18:16:06 +05:30
Darshan K
7ad9722ecf
chore: remove all pre-nim-1.6 deadcode from codebase ( #2857 )
2024-06-28 16:04:57 +05:30
gabrielmer
5f8a45c5df
chore: adding discv5 logs ( #2811 )
2024-06-26 14:25:58 +02:00
gabrielmer
42f6b4dcb7
fix: only set disconnect time on left event ( #2831 )
2024-06-24 10:20:09 +02:00
gabrielmer
57ec129a48
stop connecting to out peers until target is reached ( #2823 )
2024-06-20 12:16:15 +02:00
gabrielmer
359f6ff8d5
fix: update peers ENRs in peer store in case they are updated ( #2818 )
2024-06-19 17:29:55 +02:00
gabrielmer
2e1cbcf89c
fix: revert "chore: adding observers for message logging ( #2800 )" ( #2815 )
2024-06-17 13:14:05 +02:00
Darshan K
88d25755db
fix: mount metadata in wakucanary ( #2793 )
...
* chore: integrate cluster id and shards to waku node.
2024-06-14 18:29:42 +05:30
Akhil
0b97106cbe
feat: RLN proofs as a lightpush service ( #2768 )
2024-06-13 21:10:00 +04:00
gabrielmer
78c9172aae
chore: adding observers for message logging ( #2800 )
2024-06-13 18:35:56 +02:00
Ivan FB
beac7f5faa
chore: set msg_hash logs to notice level ( #2737 )
2024-06-10 15:56:55 +02:00
Darshan K
6250995765
fix: more detailed logs to differentiate shards with peers ( #2794 )
2024-06-10 13:40:18 +05:30
gabrielmer
3fd715cfc2
unifying clusterId to be uint16 ( #2777 )
2024-06-05 15:32:35 +02:00
Ivan FB
1afd67994e
chore: waku_discv5, peer_manager - add more logs help debug discovery issues ( #2705 )
2024-05-16 22:30:51 +02:00
Ivan FB
652fc172d4
chore: generic change to reduce the number of compilation warnings ( #2696 )
2024-05-16 22:29:11 +02:00
Akhil
41cdb92be7
feat: Added message size check before relay for lightpush ( #2695 )
2024-05-15 14:13:13 +04:00
Álex Cabeza Romero
9dd59c727e
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
fb7a7473af
chore: closing ping streams ( #2692 )
2024-05-13 12:07:57 +02:00
NagyZoltanPeter
e028362086
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
9ae579b714
feat: store v3 return pubsub topics ( #2676 )
2024-05-08 15:35:56 -04:00
Ivan FB
1d35ca970f
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
f65eead529
refactor: simplify app.nim and move discovery items to appropriate modules ( #2657 )
2024-05-01 21:13:08 +02:00
Simon-Pierre Vivier
db72e2b823
fix: store v3 validate cursor & remove messages ( #2636 )
2024-05-01 14:47:06 -04:00
Ivan FB
9477c77cd2
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
7bab843003
refactor: metrics server. Simplify app.nim module ( #2650 )
2024-04-30 15:07:17 +02:00
Ivan FB
bbb32362ca
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
489d0c1648
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
ebcabd8ed0
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
160657a540
fix: proto field numbers & status desc ( #2632 )
2024-04-25 15:43:21 -04:00
Simon-Pierre Vivier
665d9e3a06
feat: store v3 ( #2431 )
2024-04-25 09:09:52 -04:00
NagyZoltanPeter
daa88019d0
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
9045af9363
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
790b708d11
refactor: start moving discovery modules to waku/discovery ( #2587 )
2024-04-17 21:48:20 +02:00
NagyZoltanPeter
559531749b
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
c432c1bfcc
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
70de74a210
fix: remove subscription queue limit ( #2551 )
2024-03-25 10:33:01 -04:00
Ivan FB
0adcdb1c85
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
279d0dfa7f
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
cf6298ca1f
Generic re-style with nph 0.5.1 ( #2396 )
2024-03-16 00:08:47 +01:00
Álex Cabeza Romero
8e13bfbb65
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
c5960b3133
chore: add 150 kB to msg size histogram metric ( #2430 )
2024-03-14 12:38:02 +01:00
Alvaro Revuelta
813d0b207c
fix: enable autosharding in any cluster ( #2505 )
2024-03-13 10:58:13 +01:00
Simon-Pierre Vivier
430708ccc6
feat: archive update for store v3 ( #2451 )
2024-03-12 07:51:03 -04:00
gabrielmer
92051e95d2
chore: migrating logic from wakunode2.nim to node_factory.nim ( #2504 )
2024-03-08 16:46:42 -06:00
gabrielmer
8cf2f78b6c
chore: moving node initialization code to node_factory.nim ( #2479 )
2024-03-02 18:59:53 -06:00
Simon-Pierre Vivier
8eff17953c
fix: notify Waku Metadata when Waku Filter subscribe to a topic ( #2493 )
2024-03-01 08:01:37 -05:00
Ivan FB
34a3200fd6
waku_metrics: change log interval from 30'' to 10' ( #2428 )
2024-02-19 22:25:20 +01:00
Hanno Cornelius
bf1bb45d75
feat: prioritise yamux above mplex ( #2417 )
...
* update libp2p submodule
* feat: prefer yamux to mplex
2024-02-17 19:46:01 +00:00
Aaryamann Challani
1563ea8188
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
5099af4c8b
feat: add yamux support ( #2397 )
2024-02-06 16:33:13 -04:00