Commit Graph

1549 Commits

Author SHA1 Message Date
Václav Pavlín b50becd760
feat(networkspammer): add Network Spammer 2024-04-26 10:29:51 +02:00
Ivan FB 05f332ed9b
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 843fe217fa
fix: proto field numbers & status desc (#2632) 2024-04-25 15:43:21 -04:00
NagyZoltanPeter 5f65565c85
fix: missing rate limit setting for legacy store protocol (#2631) 2024-04-25 17:51:34 +02:00
Simon-Pierre Vivier 0b0fbfad5c
feat: store v3 (#2431) 2024-04-25 09:09:52 -04:00
NagyZoltanPeter 7f8d8e806c
chore: an enhanced version of convenient node health check script (#2624) 2024-04-25 10:35:34 +02:00
Aaryamann Challani 40752b1e89
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 9c9883a630
fix(rln-relay): enforce error callback to remove exception raised from retryWrapper (#2622) 2024-04-24 17:11:22 +02:00
Ivan FB b28207ab07
refactor: addition of waku_api/rest/builder.nim and reduce app.nim (#2623) 2024-04-24 15:59:50 +02:00
gabrielmer cffcbc8fc9
Changing references to rfc.vac.dev (#2619) 2024-04-24 11:31:34 +03: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
Aaryamann Challani 1a23700d54
fix(rln-relay): increase retries for 1 minute recovery time (#2614) 2024-04-23 15:11:14 +02:00
gabrielmer 6bc79bc739
chore: enabling rest api as default (#2600) 2024-04-23 10:23:13 +03:00
Aaryamann Challani 2c01fa0fe4
fix(ci): unique comment_tag to reference rln version (#2613) 2024-04-22 16:44:59 +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 1ba9df4be0
refactor: move app.nim and networks_config.nim to waku/factory (#2608) 2024-04-19 20:03:36 +02:00
gabrielmer 39299ceac7
chore(release): update changelog for v0.27.0 release (#2596) 2024-04-19 13:10:43 +03:00
Ivan FB b0a43b80d3
docs nph: clarify the version that is needed 0.5.1 (#2605) 2024-04-19 11:34:12 +02:00
Prem Chaitanya Prathi 10d36c392b
chore: workflow to autoassign PR (#2604) 2024-04-19 14:28:46 +05:30
kaichao 768c61b114
fix: create options api for cors preflight request (#2598) 2024-04-18 18:29:50 +08:00
Ivan FB 4a8e62ac5e
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 828583adc2
refactor: start moving discovery modules to waku/discovery (#2587) 2024-04-17 21:48:20 +02:00
NagyZoltanPeter aa9c3025db
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 51ec12beb2
chore: don't create docker images for users without org's secrets (#2585)
]
2024-04-17 09:44:18 +03:00
Vaclav Pavlin 006d43aefc
fix(doc): update REST API docs (#2581) 2024-04-16 13:27:22 +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
gabrielmer 4117fe65b7
chore: adding migration script adding i_query index (#2578) 2024-04-15 12:57:35 +03:00
gabrielmer a04e0d9971
chore: bumping chronicles version (#2583) 2024-04-15 10:59:37 +03:00
Aaryamann Challani 480a62facd
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 d257855353
fix: rest store: content_topic -> contentTopic in the response (#2584) 2024-04-12 17:47:32 +02:00
Roman Zajic 269139cf28
chore: add ARM64 support for Linux/MacOS (#2580) 2024-04-12 14:11:35 +08:00
Aaryamann Challani 24f6fed898
chore(rln): update submodule + rln patch version (#2574) 2024-04-09 14:01:35 +03:00
gabrielmer f68ac79248
chore: bumping dependencies for 0.27.0 (#2572) 2024-04-09 11:17:46 +03:00
NagyZoltanPeter 56dd47d868
Extend release process with the need of merging back release branch to master (#2573) 2024-04-09 05:47:03 +02:00
Ivan FB ba90e3f59b
Dockerfile: workaround to allow creation of docker images (#2569) 2024-04-08 11:26:47 +02:00
richΛrd 3d752b11b9
fix(c-bindings): rln credential path key (#2564) 2024-04-04 02:41:14 -04:00
Alvaro Revuelta a76c958766
fix: cluster-id 0 disc5 issue (#2562) 2024-04-04 08:19:31 +02:00
Alvaro Revuelta c87545d53d
fix: regex for rpc endpoint (#2563) 2024-04-02 15:14:55 +02:00
Ivan FB 8d66a5485d
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 2aa835e3bf
feat(c-bindings): rln relay (#2544) 2024-03-27 10:08:53 -04:00
Alvaro Revuelta b5e4795f55
fix(rln): set a minimum epoch gap (#2555) 2024-03-27 11:36:14 +01:00
Alvaro Revuelta 47ad0fb001
fix: fix regresion + remove deprecated flag (#2556) 2024-03-26 19:44:55 +01:00
Sergei Tikhomirov 65530264d5
feat(incentivization): add codec for eligibility proof and status (#2419)
* incentivization: add codec for eligibility proofs

* add codec for eligibility proof and eligibility status

* address minor comments

* make status code mandatory in eligibility status
2024-03-26 18:25:42 +01:00
richΛrd 6d0f6d822c
refactor(c-bindings): node initialization (#2547) 2024-03-26 09:10:25 -04:00
Vaclav Pavlin 70c53fc058
fix(networkmanager): regularly disconnect from random peers (#2553) 2024-03-26 12:04:48 +01: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
Ivan FB b5e2edb724
postgres_driver.nim: make sure the partition list ist loaded in correct order (#2548) 2024-03-25 18:02:07 +01:00
Simon-Pierre Vivier 94ff5eab68
fix: remove subscription queue limit (#2551) 2024-03-25 10:33:01 -04:00
Anton Iakimov 18a053591d
chore: switch wakuv2 to waku fleet (#2519)
See https://github.com/status-im/infra-nim-waku/issues/91
2024-03-20 16:28:00 +01: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