mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-06-26 11:29:28 +00:00
Ports commit 14562878 onto PR #3807's logos_delivery/ layout. Changes vs original 14562878: - Plugin consumed via nimble dep (no submodule add); the PR #3807 nimble resolution already provides it. - mountMix signature carries both PR #3807's disableSpamProtection AND the patch's useOnchainLEZ parameters (callsite passes both). - WakuMix.new branches on disableSpamProtection while also setting useOnchainLEZ on the spam-protection config. Cover-traffic params come from the plugin config when RLN is enabled, fall back to waku defaults when disabled. - start() retains HEAD's split between local-only init and the separate registerDoSProtectionWithNetwork retry loop. publishGossipsubTrigger is promoted to a standalone proc instead of inline in an else branch. - MixProtocol.init uses libp2p_mix's new Opt-wrapped coverTraffic and the MixRlnSpamProtection.new constructor (not the renamed newMixRlnSpamProtection). - Makefile reverted to HEAD: PR #3807 dropped the separate mix-librln archive in favor of a single stateless zerokit, so the patch's MIX_LIBRLN_* additions are obsolete. - README/sim helper config files: HEAD's values retained (env-specific paths from patch author dropped). Adds: - logos_delivery/waku/waku_mix/logos_core_client.nim (RLN client layer) - logos_delivery/waku/waku_mix/coordination handler (via waku_node) - logos_delivery/waku/waku_rln_relay/rln_gifter/{client,protocol,rpc,rpc_codec}.nim - 5 new C FFI exports (logosdelivery_set_rln_fetcher, _set_rln_config, _set_rln_identity, _push_roots, _push_proof) - --mix-gifter-* CLI flags + MixConf fields + MixConfBuilder methods - tests/waku_rln_relay/test_rln_gifter.nim
137 lines
3.4 KiB
JSON
137 lines
3.4 KiB
JSON
{
|
|
"nodes": {
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1780511130,
|
|
"narHash": "sha256-2v9lT4ya59Lh1FqPeLnz1MoX9y/wz2huqfe9RtQZITk=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "535f3e6942cb1cead3929c604320d3db54b542b9",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "535f3e6942cb1cead3929c604320d3db54b542b9",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs",
|
|
"rust-overlay": "rust-overlay",
|
|
"zerokit": "zerokit",
|
|
"zerokitMix": "zerokitMix"
|
|
}
|
|
},
|
|
"rust-overlay": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1775099554,
|
|
"narHash": "sha256-3xBsGnGDLOFtnPZ1D3j2LU19wpAlYefRKTlkv648rU0=",
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"rev": "8d6387ed6d8e6e6672fd3ed4b61b59d44b124d99",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"rust-overlay_2": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"zerokit",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1771297684,
|
|
"narHash": "sha256-wieWskQxZLPlNXX06JEB0bMoS/ZYQ89xBzF0RL9lyLs=",
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"rev": "755d3669699a7c62aef35af187d75dc2728cfd85",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"rust-overlay_3": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"zerokitMix",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1771297684,
|
|
"narHash": "sha256-wieWskQxZLPlNXX06JEB0bMoS/ZYQ89xBzF0RL9lyLs=",
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"rev": "755d3669699a7c62aef35af187d75dc2728cfd85",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "oxalica",
|
|
"repo": "rust-overlay",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"zerokit": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
],
|
|
"rust-overlay": "rust-overlay_2"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1779168423,
|
|
"narHash": "sha256-OmCnpM+ZcI79EVozdKADj9h4sFsLwfCs5w7OK8Ir6fc=",
|
|
"owner": "vacp2p",
|
|
"repo": "zerokit",
|
|
"rev": "5e64cb8822bee65eed6cf459f95ae72b80c6ba63",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "vacp2p",
|
|
"repo": "zerokit",
|
|
"rev": "5e64cb8822bee65eed6cf459f95ae72b80c6ba63",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"zerokitMix": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
],
|
|
"rust-overlay": "rust-overlay_3"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1773917887,
|
|
"narHash": "sha256-5a2cL26uw7NdLCD0gCA3tS7uX8W9yxRGqcPhWNevstM=",
|
|
"ref": "refs/tags/v2.0.0",
|
|
"rev": "0ef1364c86c9c2c441284389c46b0b461feab893",
|
|
"revCount": 371,
|
|
"type": "git",
|
|
"url": "https://github.com/vacp2p/zerokit"
|
|
},
|
|
"original": {
|
|
"ref": "refs/tags/v2.0.0",
|
|
"type": "git",
|
|
"url": "https://github.com/vacp2p/zerokit"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|