4 Commits

Author SHA1 Message Date
Prem Chaitanya Prathi
8add44d579
chore: bump nim-libp2p and mix-rln plugin for proof token reuse
- nim-libp2p: adds ProofResult, reclaimProofToken, same-epoch precomp
- mix-rln-spam-protection-plugin: implements messageId reuse from
  discarded cover packets

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 17:31:21 +05:30
Prem Chaitanya Prathi
acab10008e
fix(mix): add nil guard in setupSpamProtectionCallbacks
Defensive nil check for mixRlnSpamProtection when spam protection
is disabled, preventing potential crash if the guard in start()
is ever bypassed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 15:52:29 +05:30
Prem Chaitanya Prathi
2033358df2
feat(mix): add cover traffic, disable-spam-protection flag, and fix option_shims crash
- Add cover traffic support with constant rate as per spec
- Add mix-user-message-limit and mix-disable-spam-protection CLI flags
- Fix option_shims.nim double-evaluation bug causing UnpackDefect crash
  in ping (template expanded await expression twice, racing two calls)
- Reduce default rate limit to 2 msgs/epoch for simulation testing
- Add check_cover_traffic.sh metrics monitoring script

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 23:09:26 +05:30
Prem Chaitanya Prathi
49209de69b
integrate RLN spam protection into mix protocol with OffChainGroupManager and logos-messaging for broadcasting membership changes and general coordination with API updates and fixes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 12:07:59 +05:30