Solution: LP-0017 — Whistleblower#58
Open
Tranquil-Flow wants to merge 2 commits into
Open
Conversation
✅ Validation passedA reviewer will assess against the prize criteria. Automated check. See solution template and TERMS. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation of LP-0017: censorship-resistant document upload + indexing on the Logos stack.
Repository: https://github.com/Tranquil-Flow/lp-0017-whistleblower (public, MIT + Apache-2.0)
Narrated demo video: https://youtu.be/lMu25io5K-k
What's implemented:
ui/) — Qt6/QML plugin packaged asdist/whistleblower-plugin.lgx. Upload → Logos Storage; broadcast(CID, metadata)envelope → Logos Delivery; optional on-chain anchor via FFI to the LEZ registry.document-indexingcrate) — Qt-free Rust core with threedyn-safe trait boundaries (StorageClient/DeliveryClient/RegistryClient). Real LEZ adapter + mock adapter for tests.batch/whistleblower-batch) — anyone with a wallet can subscribe to the Delivery topic, dedupe via a sled-backed ledger, and batch-anchor accumulated CIDs idempotently.methods/guest/) — PDA-per-CID layout. Anchor cost O(1) regardless of registry size, unbounded capacity, idempotency-by-default-state-check.On-chain evidence (
RISC0_DEV_MODE=0, real local sequencer = LEZ devnet per Logos Discord 2026-05-11):lez_adapter_anchor_50_cids_in_one_tx) — 5x the spec's ≥10-per-batch requirement.anchor_one_via_ffi_against_live_sequencer+ idempotent variant) — exactly the path the QML "Anchor" button drives.lgs basecamp launch alice): plugin loaded, storage upload returned a manifest CID, delivery broadcast sent the JSON envelope.BENCHMARKS.md.CI:
.github/workflows/ci.ymlruns the full workspace including the risc0 zkVM guest, FFI, LEZ adapter, and ignored live-LEZ tests against a localnet sequencer.See
solutions/LP-0017.mdfor the full spec compliance map and architecture notes.