Repository navigation
test(shake256): validate prefix under Core consensus - #223
RobinLinus merged 2 commits into
Conversation
|
Review: changes required before merge. The Core harness is useful, but the catalog promotion is broader than the fixture it validates. Evidence: Reviewed commit: |
e422be4 to
bc1d201
Compare
|
Addressed in commit bc1d201.
Checks passed: focused SHAKE primitive metrics, all SHAKE unit tests, the consensus fixture test, knowledge-base validation, cargo fmt check, and staged-diff whitespace check. The Core regtest itself was not rerun in this correction; the fixture and catalog preserve its exact reported boundary and scope. |
|
Review of The separate complete-leaf configuration correctly narrows the Core evidence compared with the previous review. Two details still need attention: this PR also changes the unrelated bigint record from Current integration conflicts: Validation scope: source/diff and existing CI review; no new full-repository or field-arithmetic test run was requested. |
Preserve the local fragment classifications while recording the separate pinned Core complete-leaf result. Confirm the funded leaf script and Tapleaf hashes locally, retain digest correctness as independent vector evidence, and keep relay policy unclaimed.
|
Addressed the review on
Integrated-tree validation: 10 focused SHAKE tests, the named prefix metric test, the deterministic fixture example test, 9 shared Core harness unit tests, KB validation, formatting and diff checks passed. An actual funded spend was accepted by pinned Core v30.3 ( |
The reusable SHAKE256 prefix has independent local digest vectors and strict stack checks. This PR adds a separately scoped, deterministic complete Taproot spend against pinned Bitcoin Core v30.3, without promoting the reusable fragment's evidence.
The funded leaf consumes 32 message items, computes 32 output bytes, drops those outputs, and ends with OP_TRUE. Core acceptance establishes transaction/resource acceptance for that exact leaf; digest correctness comes from separate local FIPS 202 reference comparisons. Relay policy is unmeasured.
The complete leaf is 2,000,144 bytes (unoptimized under the compilation policy), its serialized Taproot witness is 2,000,248 bytes with 34 items, and the exact local strict execution peaks at 813 combined stack items. There are zero hint items. The reusable 32-byte and 137-byte fragment configurations remain locally-reproduced / unclassified; only the complete-leaf configuration is differentially-validated / consensus-validated.
Validation on the integrated tree includes the focused SHAKE module, named prefix metric, deterministic fixture example, shared Core harness unit tests, KB validation and formatting, plus an actual funded Core v30.3 generateblock acceptance run. The Core harness is added to the existing comparison CI job. No metric refresh or local broad/field-arithmetic suite was run.