Prem Chaitanya Prathi
a6dc13d4b1
feat(mix): integrate mix protocol with extended kademlia + RLN spam protection
...
Rebased poc/mix-spam-protection onto origin/master. Bundles:
- Extended kademlia discovery integration for mix node pool
(waku/discovery/waku_kademlia.nim, tools/confutils/cli_args.nim)
- RLN spam protection plugin (vacp2p/mix-rln-spam-protection) wired in:
WakuMix gains mixRlnSpamProtection + publishMessage callback,
per-hop proof generation / verification, membership coordination
via /mix/rln/metadata/v1 content topic
- chat2mix sim app: filter-subscribes to spam-protection coordination
topic, defers publishing until mix node pool is populated
- Makefile: automated librln_mix_v2.0.0.a build via
scripts/build_rln_mix.sh and mix-librln target
- simulations/mixnet: 5-node mixnet sim infrastructure
(config1-4.toml, run_*.sh, build_setup.sh, setup_credentials.nim,
README, roundtrip_check.sh automated round-trip verification)
Rebase fixes:
- Plugin previously vendored as submodule; now a nimble requires entry
pinned to logos-co/mix-rln-spam-protection-plugin@037f8e10
- waku.nimble: zlib < 0.2 pin to keep nimble lock resolution stable
(upstream zlib HEAD bumped to 0.2.0)
- apps/chat2mix/config_chat2mix.nim: replace
`defaultValue: parseIpAddress("...")` with IpAddress literal,
works around confutils macro generating
`defaultValueHelpName(): string {.raises: [].}` that violates the
raises pragma when stringifying a parseIpAddress call
- config.nims: nimble setup --noNimblePath reordering
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 17:26:01 +05:30
Fabiana Cecin
614f171626
nim nph 0.7.0 formatting ( #3759 )
2026-03-17 14:15:35 +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
Prem Chaitanya Prathi
088e3108c8
use exit==dest approach for mix ( #3642 )
2025-11-22 08:11:05 +05:30
Prem Chaitanya Prathi
b0cd75f4cb
feat: update rendezvous to broadcast and discover WakuPeerRecords ( #3617 )
...
* update rendezvous to work with WakuPeeRecord and use libp2p updated version
* split rendezvous client and service implementation
* mount rendezvous client by default
2025-11-21 23:15:12 +05:30
Fabiana Cecin
7b580dbf39
chore(refactoring): replace some isErr usage with better alternatives ( #3615 )
...
* Closes apply isOkOr || valueOr approach (#1969 )
2025-10-27 14:07:06 -03:00
Prem Chaitanya Prathi
8be45180aa
removing mix repo as dependency and using mix from libp2p repo ( #3632 )
...
* use released version of libp2p 1.14.2
2025-10-23 10:00:11 +05:30
Ivan FB
7e5041d5e1
Move log level from debug to info ( #3622 )
...
* convert all debug logs to info log level
* waku_relay protocol mv notice spammy logs to debug
2025-10-15 10:49:36 +02:00
Fabiana Cecin
4d68e2abd5
chore(refactoring): results lib refactors (mostly replace isOk) ( #3610 )
...
* Changes isOk usage into better patterns with e.g. valueOr / isOkOr
* Some other refactoring included
* This PR partially addresses #1969
2025-10-08 19:14:54 -03:00
Prem Chaitanya Prathi
797370ec80
remove mixPubKey from ENR and provide config param to pass mix nodes statically ( #3587 )
2025-10-08 10:18:54 +05:30
Prem Chaitanya Prathi
7819a6e09a
use ipv4 address only for mix nodes, dogfooding fixes ( #3576 )
2025-10-01 13:12:08 +05:30
Prem Chaitanya Prathi
eb7a3d137a
feat: mix poc ( #3284 )
...
* feat: poc to integrate mix into waku and use lightpush to demonstrate
2025-09-11 20:40:01 +05:30