mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-23 05:00:21 +00:00
The broker proof provider's inline logic — generate proof, decode it, self-validate the root against the acceptable-root window, and on stale root force-refresh + regenerate — is a reusable primitive on its own. Lift it into rln/proof.nim next to the existing generateRLNProof so the provider closure in mount() collapses to a single call, and any future non-broker caller can share the same flow. Pure refactor; behavior identical. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>