mirror of
https://github.com/logos-messaging/nim-chat-poc.git
synced 2026-07-03 07:00:16 +00:00
Global, restart-based Required/None anonymity mode: route chat messages through the
libp2p mixnet for sender anonymity, on the logos-delivery (efafdfdc2) nwaku stack.
Static RLN spam protection; no on-chain LEZ gifter / dynamic membership.
Delivery (src/chat/delivery/waku_client.nim):
- WakuConfig.mixEnabled/mixNodes/minMixPoolSize; parseMixNodes, waitForMixPool,
getMixPoolSize, mixReady.
- Required mode: sendBytes -> lightpushPublish(mixify=true) over the mix pool,
fail-fast below minMixPoolSize (no relay fallback). None mode: relay publish.
Errors propagate up to chat_send_message.
- Receive via WakuFilter (subscribe to static peers; no relay mounted), refreshed
by a 60s keep-alive.
- Static RLN: pre-populated rln_tree.db + per-peer keystore; nodekey config to adopt
a provisioned identity. No per-send root-convergence wait (static membership).
API / build:
- chat_get_mix_status FFI -> {mixEnabled,mixReady,mixPoolSize,minPoolSize}.
- Reproducible nix build: librln consumed as a cdylib (avoids the two-Rust-staticlib
symbol collision); -d:libp2p_mix_experimental_exit_is_dest.
- vendor/nwaku -> efafdfdc2; vendor/nim-protobuf-serialization -> 38d24eb (0.4.0).
31 lines
974 B
Plaintext
31 lines
974 B
Plaintext
[submodule "vendor/nimbus-build-system"]
|
|
path = vendor/nimbus-build-system
|
|
url = https://github.com/status-im/nimbus-build-system.git
|
|
[submodule "vendor/nwaku"]
|
|
path = vendor/nwaku
|
|
url = https://github.com/logos-messaging/logos-delivery.git
|
|
ignore = untracked
|
|
branch = feat/cover-traffic
|
|
[submodule "vendor/nim-protobuf-serialization"]
|
|
path = vendor/nim-protobuf-serialization
|
|
url = https://github.com/status-im/nim-protobuf-serialization.git
|
|
ignore = untracked
|
|
branch = master
|
|
[submodule "vendor/npeg"]
|
|
path = vendor/npeg
|
|
url = https://github.com/zevv/npeg.git
|
|
ignore = untracked
|
|
branch = master
|
|
[submodule "vendor/blake2"]
|
|
path = vendor/blake2
|
|
url = https://github.com/narimiran/blake2.git
|
|
ignore = untracked
|
|
branch = master
|
|
[submodule "vendor/libchat"]
|
|
path = vendor/libchat
|
|
url = https://github.com/logos-messaging/libchat.git
|
|
[submodule "vendor/nim-ffi"]
|
|
path = vendor/nim-ffi
|
|
url = https://github.com/logos-messaging/nim-ffi.git
|
|
branch = master
|