Add optional proof-of-work grinding plumbing - #210
Draft
latifkasuli wants to merge 3 commits into
Draft
Conversation
latifkasuli
marked this pull request as ready for review
June 10, 2026 11:05
latifkasuli
requested review from
ElijahVlasov,
albert-garreta,
frozenspider and
osdnk
as code owners
June 10, 2026 11:05
This was referenced Jun 10, 2026
latifkasuli
force-pushed
the
feat/pow-grinding
branch
from
June 12, 2026 09:29
f2118d6 to
86c339e
Compare
latifkasuli
force-pushed
the
feat/pow-grinding
branch
from
July 19, 2026 03:01
86c339e to
ef60f5f
Compare
latifkasuli
marked this pull request as draft
July 19, 2026 03:02
latifkasuli
force-pushed
the
feat/pow-grinding
branch
from
July 29, 2026 17:19
ef60f5f to
81dab59
Compare
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.
Depends on #225. This branch includes its exact commit so the grinding code can be tested now; that dependency diff drops after #225 lands.
What changed
ZipTypes::GRINDING_BITS, defaulting to0.combined_rowand before column indices are derived.Scope
This is parameter-neutral plumbing. It does not reduce the production column-opening count, change the benchmark configuration, or claim that
ggrinding bits can automatically replacegqueries.Any query reduction needs a protocol soundness argument that isolates the query error term from the other failure terms. Until then, the default remains off and the non-test configurations remain unchanged.
Validation
cargo fmt --all -- --checkcargo test -p zinc-transcript --lib(9 passed)cargo test -p zinc-transcript --lib --features parallel(9 passed)cargo test -p zip-plus --lib(93 passed)cargo test -p zinc-protocol --lib(30 passed)cargo test -p zinc-protocol --lib --features parallel(30 passed)Related to #149.