mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-05-26 04:09:29 +00:00
- Integrate ConstantRateCoverTraffic from libp2p mix module with default totalSlots = userMessageLimit (or 2) and 10s epoch - Add --mix-user-message-limit and --mix-disable-spam-protection CLI flags with corresponding MixConfBuilder accessors and MixConf fields - Wrap mixRlnSpamProtection construction so it is skipped when spam protection is disabled, with a nil guard in setupSpamProtectionCallbacks - Add waku/common/option_shims.nim restoring valueOr/withValue templates for std/options (removed upstream by results), and import it across modules that relied on the old behavior - Sink chat2mix logs to textlines (stdout) instead of textlines[file] to work around a chronicles compile-time macro-eval bug under Nim 2.2.4 - Rename ExtendedKademliaDiscoveryParams -> ExtendedServiceDiscoveryParams to match the kad_disco -> service_discovery rename in nim-libp2p - Bump nim-libp2p to e1bbda4f6 (PR #2243 "cover traffic with constant rate") and mix-rln-spam-protection-plugin to 153d0c0 (PR #5 cover traffic epoch change support); both pre-libp2p_mix-extraction - Add simulations/mixnet/check_cover_traffic.sh for monitoring mix_cover_* / mix_slot_* metrics, plus per-node cover-traffic configs
32 lines
787 B
TOML
32 lines
787 B
TOML
log-level = "TRACE"
|
|
relay = true
|
|
mix = true
|
|
filter = true
|
|
store = true
|
|
lightpush = true
|
|
max-connections = 150
|
|
peer-exchange = false
|
|
metrics-logging = false
|
|
metrics-server = true
|
|
cluster-id = 2
|
|
discv5-discovery = false
|
|
discv5-udp-port = 9000
|
|
discv5-enr-auto-update = true
|
|
enable-kad-discovery = true
|
|
rest = true
|
|
rest-admin = true
|
|
ports-shift = 1
|
|
num-shards-in-network = 1
|
|
shard = [0]
|
|
agent-string = "nwaku-mix"
|
|
nodekey = "f98e3fba96c32e8d1967d460f1b79457380e1a895f7971cecc8528abe733781a"
|
|
mixkey = "a87db88246ec0eedda347b9b643864bee3d6933eb15ba41e6d58cb678d813258"
|
|
rendezvous = false
|
|
listen-address = "127.0.0.1"
|
|
nat = "extip:127.0.0.1"
|
|
ext-multiaddr = ["/ip4/127.0.0.1/tcp/60001"]
|
|
ext-multiaddr-only = true
|
|
ip-colocation-limit=0
|
|
mix-user-message-limit=4
|
|
mix-disable-spam-protection=false
|