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
Aaryamann Challani
8ada4e06f1
fix(rln-relay): persist metadata every batch during initial sync ( #2649 )
...
* fix(rln-relay): persist metadata every batch during initial sync
* fix: test
* Apply suggestions from code review
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* patch: isOkOr template
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-04-30 18:52:47 +05:30
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
kaiserd
cd6424be19
chore: change nim-libp2p branch from unstable to master ( #2648 )
2024-04-30 11:43:22 +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
Ivan FB
8f9bcef2c4
rest/store/types: contentTopic -> content_topic ( #2646 )
2024-04-29 16:19:07 +02:00
Prem Chaitanya Prathi
d45506253b
fix: handle named sharding in enr ( #2647 )
2024-04-29 18:53:49 +05:30
Prem Chaitanya Prathi
e3a515d86a
fix: parse shards properly in enr config for non twn ( #2633 )
2024-04-26 17:51:52 +05:30
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
Aaryamann Challani
7dd7531a4a
chore(rln-relay): resultify rln-relay 1/n ( #2607 )
...
* chore(rln-relay): resultify rln-relay 1/n
* fix: v2 too
* fix: for static group manager
* fix: cleanup, make PR digestable
* fix: remove resultified retry wrapper
* fix: cleanup
* fix: cleanup
2024-04-26 11:53:58 +02:00
Ivan FB
750f99ce87
chore: ci.yml - avoid calling brew link libpq --force on macos ( #2627 )
...
* ci.yml: avoid calling brew link libpq --force on macos
PRs started to fail due to that but we are not actually running
postgres tests on MacOS
* fix: remove brew linking for test job
* fix: conditional compilation for macos
* fix: remove autoformatted details
---------
Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
2024-04-26 09:02:58 +02:00
Simon-Pierre Vivier
160657a540
fix: proto field numbers & status desc ( #2632 )
2024-04-25 15:43:21 -04:00
NagyZoltanPeter
c1394bc470
fix: missing rate limit setting for legacy store protocol ( #2631 )
2024-04-25 17:51:34 +02:00
Simon-Pierre Vivier
665d9e3a06
feat: store v3 ( #2431 )
2024-04-25 09:09:52 -04:00
NagyZoltanPeter
cc9403f970
chore: an enhanced version of convenient node health check script ( #2624 )
2024-04-25 10:35:34 +02:00
Aaryamann Challani
1b65a47685
chore(rln-db-inspector): add more logging to find zero leaf indices ( #2617 )
...
* chore(rln-db-inspector): add more logging to find zero leaf indices
* fix: assumeEmptyAfter var
2024-04-24 17:11:32 +02:00
Aaryamann Challani
f93e47e9eb
fix(rln-relay): enforce error callback to remove exception raised from retryWrapper ( #2622 )
2024-04-24 17:11:22 +02:00
Ivan FB
963d79aee7
refactor: addition of waku_api/rest/builder.nim and reduce app.nim ( #2623 )
2024-04-24 15:59:50 +02:00
gabrielmer
34aa2c372d
Changing references to rfc.vac.dev ( #2619 )
2024-04-24 11:31:34 +03: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
Aaryamann Challani
8a2b0dcf7e
fix(rln-relay): increase retries for 1 minute recovery time ( #2614 )
2024-04-23 15:11:14 +02:00
gabrielmer
3ef656fc71
chore: enabling rest api as default ( #2600 )
2024-04-23 10:23:13 +03:00
Aaryamann Challani
665dd060df
fix(ci): unique comment_tag to reference rln version ( #2613 )
2024-04-22 16:44:59 +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
dc7d036074
refactor: move app.nim and networks_config.nim to waku/factory ( #2608 )
2024-04-19 20:03:36 +02:00
gabrielmer
2e56eb9c73
chore(release): update changelog for v0.27.0 release ( #2596 )
2024-04-19 13:10:43 +03:00
Ivan FB
6f09023ce0
docs nph: clarify the version that is needed 0.5.1 ( #2605 )
2024-04-19 11:34:12 +02:00
Prem Chaitanya Prathi
0fea2816f9
chore: workflow to autoassign PR ( #2604 )
2024-04-19 14:28:46 +05:30
kaichao
4f63fa9f88
fix: create options api for cors preflight request ( #2598 )
2024-04-18 18:29:50 +08:00
Ivan FB
1dc7224c48
fix: node restart test issue ( #2576 )
...
* test_protocol.nim: enhance test reboot and connect
- Is not necessary to start the node if the switch object has been
already started
- Enable an existing "Relay can receive messages after reboot and
reconnect" test
- Explicit reconnect to peer in "Relay can receive messages after reboot
and reconnect" test
* tests/waku_relay/utils: avoid starting the proto again in newTestSwitch proc
With that, we avoid double start of the protocol.
* bump nim-libp2p
2024-04-18 11:20:39 +02:00
Ivan FB
790b708d11
refactor: start moving discovery modules to waku/discovery ( #2587 )
2024-04-17 21:48:20 +02:00
NagyZoltanPeter
10d557ad6d
Removed remaining of json-rpc reference from connect.md and change to the correct rest api reference page. ( #2597 )
2024-04-17 09:20:07 +02:00
gabrielmer
5254314645
chore: don't create docker images for users without org's secrets ( #2585 )
...
]
2024-04-17 09:44:18 +03:00
Vaclav Pavlin
7a11b371b0
fix(doc): update REST API docs ( #2581 )
2024-04-16 13:27:22 +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
gabrielmer
55d6b95287
chore: adding migration script adding i_query index ( #2578 )
2024-04-15 12:57:35 +03:00
gabrielmer
d171add431
chore: bumping chronicles version ( #2583 )
2024-04-15 10:59:37 +03:00
Aaryamann Challani
080a0adf9b
fix(rln-relay): reduce sync time ( #2577 )
...
* fix(rln-relay): reduce sync time
* fix: add batch handling of futures to prevent over utilization of cpu
* fix: need to handle the futures on last iteration when it isnt full
2024-04-12 19:02:48 +03:00
Ivan FB
b92e67ef41
fix: rest store: content_topic -> contentTopic in the response ( #2584 )
2024-04-12 17:47:32 +02:00
Roman Zajic
67b4351988
chore: add ARM64 support for Linux/MacOS ( #2580 )
2024-04-12 14:11:35 +08:00
Aaryamann Challani
d5e361d495
chore(rln): update submodule + rln patch version ( #2574 )
2024-04-09 14:01:35 +03:00
gabrielmer
88983bc135
chore: bumping dependencies for 0.27.0 ( #2572 )
2024-04-09 11:17:46 +03:00
NagyZoltanPeter
3043bd8155
Extend release process with the need of merging back release branch to master ( #2573 )
2024-04-09 05:47:03 +02:00
Ivan FB
7a8b86c01d
Dockerfile: workaround to allow creation of docker images ( #2569 )
2024-04-08 11:26:47 +02:00
richΛrd
91a148b852
fix(c-bindings): rln credential path key ( #2564 )
2024-04-04 02:41:14 -04:00
Alvaro Revuelta
c0609a1a9e
fix: cluster-id 0 disc5 issue ( #2562 )
2024-04-04 08:19:31 +02:00
Alvaro Revuelta
615f8e2eab
fix: regex for rpc endpoint ( #2563 )
2024-04-02 15:14:55 +02:00
Ivan FB
fd3c23386b
feat: examples/golang/waku.go add new example ( #2559 )
...
* examples/golang/waku.go: add new example
* waku.go: Richard recommendations
https://github.com/waku-org/nwaku/pull/2559#pullrequestreview-1963210599
Not addressing points 3 and 9 in this commit.
* waku.go: allow setting separate callback methods per WakuNode instance
---------
Co-authored-by: richΛrd <info@richardramos.me>
2024-03-28 11:19:16 +01:00
richΛrd
c46f9d5473
feat(c-bindings): rln relay ( #2544 )
2024-03-27 10:08:53 -04:00