2232 Commits

Author SHA1 Message Date
Prem Chaitanya Prathi
d17039da81
fix: remove optionalAttrs for Android SDK env vars
The assert in compose.nix was removed in master, so ANDROID_SDK_ROOT
and ANDROID_NDK_HOME can be set unconditionally again.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 11:19:18 +05:30
Prem Chaitanya Prathi
71a5b0dd3e
remove manual CI as nix integration is done 2026-02-10 11:14:32 +05:30
Prem Chaitanya Prathi
160aeb528a
take crash fix for mix 2026-02-10 11:14:32 +05:30
Prem Chaitanya Prathi
53957a1eb3
fix: make Android SDK env vars conditional on abidir
ANDROID_SDK_ROOT, ANDROID_NDK_HOME, and androidManifest are only
needed for Android builds (when abidir is set). Making them
unconditional causes evaluation failures on aarch64-darwin since
the Android SDK overlay doesn't support that platform.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 11:14:29 +05:30
Prem Chaitanya Prathi
352db9c6a8
comment out windows workflow 2026-02-10 11:12:42 +05:30
Prem Chaitanya Prathi
8d53871844
updated libwaku header file 2026-02-10 11:12:42 +05:30
Prem Chaitanya Prathi
0a48041079
handle cancelledError in extended kad 2026-02-10 11:12:42 +05:30
Prem Chaitanya Prathi
840653f33e
fix multiaddr passed to kad disco 2026-02-10 11:12:42 +05:30
Prem Chaitanya Prathi
d02432af52
add apis to know peercounts 2026-02-10 11:12:38 +05:30
Prem Chaitanya Prathi
bb09be0a05
use latest libp2p with improvements and fixes for mix 2026-02-10 11:11:16 +05:30
Prem Chaitanya Prathi
1a7cee9672
Update workflow to build libwaku on all platforms 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
7b9e5daabf
manual workflow to build libs for all platforms 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
355bb43248
change sim scripts to only use kademlia 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
52778b8023
integrate extended kademlia discovery with xpr for mix 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
d484165e44
remove MixPubKeyBook from waku peer store 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
a77902f773
update waku mix to not have local node pool as it is moved to mix protocol 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
bfdb612d57
update libp2p to v15 and use new LastSeenOutBoundBook 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
5e7e85626f
revert formatting changes 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
da2da49a65
change relay API to take content-topic and use if provided 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
2e526f36e4
use extMultiaddrsonly flag so that localhost is advertised 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
3687bc0a09
fix issue with extMultiAddrsOnly flag 2026-02-10 11:11:15 +05:30
Prem Chaitanya Prathi
65eb50a84a
updated libwaku API to integrate with logos chat poc for mix integration 2026-02-10 11:11:15 +05:30
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
Ivan FB
74b19c05d1
simple refactor to reduce PRs CI load (#3701)
* add discord notification in ci-daily
2026-01-29 15:48:34 +01:00
Ivan FB
a02aaab53c
bump nim-ffi to v0.1.3 (#3696) 2026-01-26 16:32:07 +01:00
a561ec3a38
nix: add libwaku target, fix compiling Nim using NBS
Use Nim built by NBS otherwise it doesn't work for both libwaku and
wakucanary.

Referenced issue:
* https://github.com/status-im/status-go/issues/7152
2026-01-20 09:29:07 +01:00
Darshan
91b4c5f52e
fix: store protocol issue in v0.37.0 (#3657) 2026-01-17 17:05:25 +05:30
NagyZoltanPeter
c27405b19c
chore: context aware brokers (#3674)
* Refactor RequestBroker to support context aware use - introduction of BrokerContext
* Context aware extension for EventBroker, EventBoker support for native or external types
* Enhance MultiRequestBroker - similar to RequestBroker and EventBroker - with support for native and external types and context aware execution.
* Move duplicated and common code into broker_utils from event- request- and multi_request_brokers
* Change BrokerContext from random number to counter
* Apply suggestion from @Ivansete-status
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* Adjust naming in broker tests
* Follow up adjustment from send_api use

---------

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2026-01-12 15:55:25 +01:00
NagyZoltanPeter
284a0816cc
chore: use chronos' TokenBucket (#3670)
* Adapt using chronos' TokenBucket. Removed TokenBucket and test. bump nim-chronos -> nim-libp2p/nim-lsquic/nim-jwt -> adapt to latest libp2p changes
* Fix libp2p/utility reports unlisted exception can occure from close of socket in waitForService - -d:ssl compile flag caused it
* Adapt request_limiter to new chronos' TokenBucket replenish algorithm to keep original intent of use
* Fix filter dos protection test
* Fix peer manager tests due change caused by new libp2p
* Adjust store test rate limit to eliminate CI test flakyness of timing
* Adjust store test rate limit to eliminate CI test flakyness of timing - lightpush/legacy_lightpush/filter
* Rework filter dos protection test to avoid CI crazy timing causing flakyness in test results compared to local runs
* Rework lightpush dos protection test to avoid CI crazy timing causing flakyness in test results compared to local runs
* Rework lightpush and legacy lightpush rate limit tests to eliminate timing effect in CI that cause longer awaits thus result in minting new tokens unlike local runs
2026-01-07 17:48:19 +01:00
Tanya S
a4e44dbe05
chore: Update anvil config (#3662)
* Use anvil config disable-min-priority-fee to prevent gas price doubling

* remove gas limit set in utils->deployContract
2026-01-06 11:35:16 +02:00
Sasha
a865ff72c8
update js-waku repo reference (#3684) 2026-01-06 10:19:37 +01:00
Ivan Folgueira Bande
dafdee9f5f
small refactor README to start using Logos Messaging Nim term 2025-12-29 23:04:24 +01:00
Pablo Lopez
96196ab8bc
feat: compilation for iOS WIP (#3668)
* feat: compilation for iOS WIP

* fix: nim ios version 18
2025-12-22 15:40:09 +02:00
Ivan FB
e3dd6203ae
Start using nim-ffi to implement libwaku (#3656)
* deep changes in libwaku to adap to nim-ffi
* start using ffi pragma in library
* update some binding examples
* add missing declare_lib.nim file
* properly rename api files in library folder
2025-12-19 17:00:43 +01:00
Tanya S
834eea945d
chore: pin rln dependencies to specific version (#3649)
* Add foundry version in makefile and install scripts

* revert to older verison of Anvil for rln tests and anvil_install fix

* pin pnpm version to be installed as rln dep

* source pnpm after new install

* Add to github path

* use npm to install pnpm for rln ci

* Update foundry and pnpm versions in Makefile
2025-12-19 10:55:53 +02:00
Arseniy Klempner
2d40cb9d62
fix: hash inputs for external nullifier, remove length prefix for sha256 (#3660)
* fix: hash inputs for external nullifier, remove length prefix for sha256

* feat: use nimcrypto keccak instead of sha256 ffi

* feat: wrapper function to generate external nullifier
2025-12-17 18:51:10 -08:00
Ivan FB
7c24a15459
simple cleanup rm unused DiscoveryManager from waku.nim (#3671) 2025-12-18 00:07:29 +01:00
Fabiana Cecin
bc5059083e
chore: pin logos-messaging-interop-tests to SMOKE_TEST_STABLE (#3667)
* pin to interop-tests SMOKE_TEST_STABLE
2025-12-16 17:49:03 +01:00
NagyZoltanPeter
3323325526
chore: extend RequestBroker with supporting native and external types and added possibility to define non-async (aka sync) requests for simplicity and performance (#3665)
* chore: extend RequestBroker with supporting native and external types and added possibility to define non-async (aka sync) requests for simplicity and performance
* Adapt gcsafe pragma for RequestBroker sync requests and provider signatures as requirement
---------

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2025-12-16 02:52:20 +01:00
Fabiana Cecin
2477c4980f
chore: update ci container-image.yml ref to a commit in master (#3666) 2025-12-15 10:33:39 -03:00
Fabiana Cecin
10dc3d3eb4
chore: misc CI fixes (#3664)
* add make update to CI workflow
* add a nwaku -> logos-messaging-nim workflow rename
* pin local container-image.yml workflow to a commit
2025-12-15 09:15:33 -03:00
Ivan FB
9e2b3830e9
Distribute libwaku (#3612)
* allow create libwaku pkg
* fix Makefile create library extension libwaku
* make sure libwaku is built as part of assets
* Makefile: avoid rm libwaku before building it
* properly format debian pkg in gh release workflow
* waku.nimble set dylib extension correctly
* properly pass lib name and ext to waku.nimble
2025-12-15 12:11:11 +01:00
Sergei Tikhomirov
7d1c6abaac
chore: do not mount lightpush without relay (fixes #2808) (#3540)
* chore: do not mount lightpush without relay (fixes #2808)

- Change mountLightPush signature to return Result[void, string]
- Return error when relay is not mounted
- Update all call sites to handle Result return type
- Add test verifying mounting fails without relay
- Only advertise lightpush capability when relay is enabled

* chore: don't mount legacy lightpush without relay
2025-12-11 10:51:47 +01:00
Darshan K
868d43164e
Release : patch release v0.37.1-beta (#3661) 2025-12-10 17:40:42 +05:30