2253 Commits

Author SHA1 Message Date
Ivan Folgueira Bande
3afa09f75d
install nimble in ci workflows 2026-02-22 14:37:02 +01:00
Ivan Folgueira Bande
bce653ec5d
stop using backtrace because we never used it and the informations it gives is poor 2026-02-22 00:59:45 +01:00
Ivan Folgueira Bande
41db18f9f7
add nimble target in Makefile and start using it as deps 2026-02-22 00:59:00 +01:00
Ivan Folgueira Bande
0fd6c33596
adjust nimble.lock and deps.nix 2026-02-22 00:43:26 +01:00
Ivan Folgueira Bande
5fd7c82a1a
format with nph 0.7.0 2026-02-21 23:17:49 +01:00
Ivan Folgueira Bande
72c24ec556
adapt Makefile to install nph v0.7.0 through nimble 2026-02-21 23:17:49 +01:00
Ivan Folgueira Bande
cd8c3f3116
nim 2.2.6 became more strict in readValue for requiresInit types 2026-02-21 23:17:49 +01:00
Ivan Folgueira Bande
56ebeb4429
waku.nimble import same nim-libp2p as current master 2026-02-21 23:17:48 +01:00
Ivan Folgueira Bande
71b252031b
import typetraits in send_service 2026-02-21 23:17:48 +01:00
Ivan Folgueira Bande
408ed6bd6a
adapt code after renaming library folder to libwaku 2026-02-21 23:17:48 +01:00
Ivan Folgueira Bande
e06917092d
refactor Makefile and waku.nimble after rebase from master 2026-02-21 23:17:47 +01:00
Ivan Folgueira Bande
213b3a26de
rename library folder to libwaku 2026-02-21 23:17:47 +01:00
Ivan Folgueira Bande
34313228ba
remove impure flag -march=native from config.nims 2026-02-21 23:17:47 +01:00
Ivan Folgueira Bande
3087ece4b8
progressing in nix nimble it now compiles ok 2026-02-21 23:17:46 +01:00
Ivan Folgueira Bande
4c9819cf9d
force nim-chronos 4.2.0 in nimble.lock 2026-02-21 23:17:46 +01:00
Ivan Folgueira Bande
4f46ace804
force websock dependency without high chronos constraint 2026-02-21 23:17:46 +01:00
Ivan Folgueira Bande
8a59ecf5e3
adjust some leftovers 2026-02-21 23:17:45 +01:00
Ivan Folgueira Bande
cd2f2186ee
deep refactor 2026-02-21 23:17:45 +01:00
Ivan Folgueira Bande
b353c4fd56
give freedom to fetch latest nim >= 2.2.4 2026-02-21 23:17:45 +01:00
Ivan Folgueira Bande
dabec743f7
enforce nim 2.2.4 in nimble 2026-02-21 23:17:44 +01:00
Ivan Folgueira Bande
667c9051ef
fetch custom websock to allow higher chronos versions 2026-02-21 23:17:44 +01:00
Ivan Folgueira Bande
827d44564e
progress towards using nix and nimble properly 2026-02-21 23:17:44 +01:00
Ivan Folgueira Bande
ea9a525fbe
add nim.nix 2026-02-21 23:17:44 +01:00
Ivan Folgueira Bande
b3f21cba3f
start using pinnedNim and pinnedNimble 2026-02-21 23:17:43 +01:00
Ivan Folgueira Bande
f22cda7946
generic cleanup and refactor 2026-02-21 23:17:43 +01:00
Ivan Folgueira Bande
9f07a74210
refactor nix and add nimbleDeps package 2026-02-21 23:17:43 +01:00
darshankabariya
f02b0b0297
initial changes for deprect vendor
* update waku.nimble
* update add nimble lock
* remove vendor completly
* update nimble lock
* update process of makefile
2026-02-21 23:17:40 +01:00
Ivan FB
c7e0cc0eaa
bump nim-metrics to proper tagged commit v0.2.1 (#3734) 2026-02-21 16:24:26 +01:00
Ivan Folgueira Bande
a7872d59d1
add POSTGRES support in nix 2026-02-20 00:19:51 +01:00
Ivan FB
b23e722cb4
bump nim-metrics to latest master (#3730) 2026-02-19 18:11:33 +01:00
Prem Chaitanya Prathi
335600ebcb
feat: waku kademlia integration and mix updates (#3722)
* feat: integrate mix protocol with extended kademlia discovery

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2026-02-19 10:26:17 +05:30
Darshan
2f3f56898f
fix: update release process (#3727) 2026-02-18 11:51:15 +05:30
Ivan FB
f208cb79ed
adjust Dockerfile.lightpushWithMix.compile (#3724) 2026-02-17 20:00:51 +01:00
Ivan FB
895f3e2d36
update after rename to logos-delivery (#3729) 2026-02-17 19:59:45 +01:00
NagyZoltanPeter
3603b838b9
feat: liblogosdelivery FFI library of new API (#3714)
* Initial for liblogosdelivery library (static & dynamic) based on current state of API. 
* nix build support added.
* logosdelivery_example
* Added support for missing logLevel/logFormat in new API create_node
* Added full JSON to NodeConfig support
* Added ctx and ctx.myLib check to avoid uninitialzed calls and crash. Adjusted logosdelivery_example with proper error handling and JSON config format
* target aware install phase
* Fix base64 decode of payload
2026-02-17 10:38:35 +01:00
Ivan FB
b38b5aaea1
force FINALIZE partition detach after detecting shorter error (#3728) 2026-02-17 00:18:46 +01:00
Ivan FB
8f29070dcf
fix avoid IndexDefect if DB error message is short (#3725) 2026-02-16 11:49:35 +01:00
Ivan FB
eb0c34c553
Adjust docker file to bsd (#3720)
* add libbsd-dev into Dockerfile
* add libstdc++ in Dockerfile
  to avoid runtime error loading shared library libstdc++.so.6:
  No such file or directory (needed by /usr/bin/wakunode)
2026-02-13 12:55:31 +01:00
NagyZoltanPeter
84f791100f
fix: peer selection by shard and rendezvous/metadata sharding initialization (#3718)
* Fix peer selection for cases where ENR is not yet advertiesed but metadata exchange already adjusted supported shards. Fix initialization rendezvous protocol with configured and autoshards to let connect to relay nodes without having a valid subscribed shard already. This solves issue for autoshard nodes to connect ahead of subscribing.
* Extend peer selection, rendezvous and metadata tests
* Fix rendezvous test, fix metadata test failing due wrong setup, added it into all_tests
2026-02-13 11:23:21 +01:00
Fabiana Cecin
1fb4d1eab0
feat: implement Waku API Health spec (#3689)
* Fix protocol strength metric to consider connected peers only
* Remove polling loop; event-driven node connection health updates
* Remove 10s WakuRelay topic health polling loop; now event-driven
* Change NodeHealthStatus to ConnectionStatus
* Change new nodeState (rest API /health) field to connectionStatus
* Add getSyncProtocolHealthInfo and getSyncNodeHealthReport
* Add ConnectionStatusChangeEvent
* Add RequestHealthReport
* Refactor sync/async protocol health queries in the health monitor
* Add EventRelayTopicHealthChange
* Add EventWakuPeer emitted by PeerManager
* Add Edge support for topics health requests and events
* Rename "RelayTopic" -> "Topic"
* Add RequestContentTopicsHealth sync request
* Add EventContentTopicHealthChange
* Rename RequestTopicsHealth -> RequestShardTopicsHealth
* Remove health check gating from checkApiAvailability
* Add basic health smoke tests
* Other misc improvements, refactors, fixes

Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2026-02-12 14:52:39 -03:00
Ivan FB
dd8dc7429d
canary exits with error if ping fails (#3711) 2026-02-11 16:19:58 +01:00
Fabiana Cecin
a8bdbca98a
Simplify NodeHealthMonitor creation (#3716)
Simplify NodeHealthMonitor creation

* Force NodeHealthMonitor.new() to set up a WakuNode
* Remove all checks for isNil(node) in NodeHealthMonitor
* Fix tests to use the new NodeHealthMonitor.new()

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2026-02-11 10:36:37 -03:00
Darshan
6421685eca
chore: bump v0.38.0 (#3712) 2026-02-10 22:30:57 +01:00
Igor Sirotin
2c2d8e1c15
chore: update license files to comply with Logos licensing requirements 2026-02-05 00:30:16 +00:00
Ivan FB
09034837e6
fix build_rln.sh script (#3704) 2026-01-30 15:35:37 +01:00
Igor Sirotin
77f6bc6d72
docs: update licenses 2026-01-30 11:52:25 +00:00
Ivan FB
beb1dde1b5
force epoll is used in chronos for Android (#3705) 2026-01-30 09:06:51 +01:00
NagyZoltanPeter
1fd25355e0
feat: waku api send (#3669)
* Introduce api/send
Added events and requests for support.
Reworked delivery_monitor into a featured devlivery_service, that
- supports relay publish and lightpush depending on configuration but with fallback options
- if available and configured it utilizes store api to confirm message delivery
- emits message delivery events accordingly

prepare for use in api_example

* Fix edge mode config and test added
* Fix some import issues, start and stop waku shall not throw exception but return with result properly
* Utlize sync RequestBroker, adapt to non-async broker usage and gcsafe where appropriate, removed leftover
* add api_example app to examples2
* Adapt after merge from master
* Adapt code for using broker context
* Fix brokerCtx settings for all usedbrokers, cover locked node init
* Various fixes upon test failures. Added initial of subscribe API and auto-subscribe for send api
* More test added
* Fix multi propagate event emit, fix fail send test case
* Fix rebase
* Fix PushMessageHandlers in tests
* adapt libwaku to api changes
* Fix relay test by adapting publish return error in case NoPeersToPublish
* Addressing all remaining review findings. Removed leftovers. Fixed loggings and typos
* Fix rln relay broker, missed brokerCtx
* Fix rest relay test failed, due to publish will fail if no peer avail
* ignore anvil test state file
* Make terst_wakunode_rln_relay broker context aware to fix
* Fix waku rln tests by having them broker context aware
* fix typo in test_app.nim
2026-01-30 01:06:00 +01:00
538b279b94
nix: drop unnecessay asert for Android SDK on macOS
Newer nixpkgs should have Android SDK for aarch64.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2026-01-29 17:26:32 +01:00
361d914f87
nix: pin nixpkgs commit to same as status-go
This avoids fetching different nixpkgs versions.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2026-01-29 17:26:31 +01:00