Repository navigation
Measure Appendix B single-round Binohash resources - #347
adrienlacombe wants to merge 1 commit into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4ab2d856e4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "witness_items": null, | ||
| "hint_items": null |
There was a problem hiding this comment.
Record exact input and hint item counts
In the n120-t8 measurement both item-count fields are left unknown even though the adjacent stack contract fixes the caller shape (one puzzle signature and t selected keys, preimages, and indices) and the fragment-only boundary says unlocking data are excluded. At t=8 that is 25 required caller data items, while the measured boundary itself supplies zero witness/hint items; record those notions separately instead of null, or catalog consumers cannot evaluate entry-stack composition or distinguish zero hints from an unmeasured count. The repository research protocol requires an exact per-invocation hint count and a separate complete data-item count.
AGENTS.md reference: AGENTS.md:L57-L64
Useful? React with 👍 / 👎.
Question
What are the final policy-compiled byte and legacy opcode costs of the paper's Appendix B.1 single-round locking script at its illustrative and proposed pool sizes?
Change
Reproduce the Appendix B.1 generated script with deterministic nine-byte DER-shaped signature placeholders and 20-byte hash placeholders at
n,t=10,5,120,8,147,8, and151,8. A checked report records final policy-produced bytes, static non-push opcodes, and the conditional CoreCHECKMULTISIGpubkey charge. Atn=120,t=8the single-round script is 3,950 bytes and 84 static non-push opcodes; if its nine-key multisig executes, Core's count is 93. The paper's approximate one-round byte expression gives 3,964 bytes. The delta changes across Script number encoding boundaries.This is static locking-script evidence (
locally-reproduced,unclassified). Placeholder signatures and hashes are not a valid opening. It excludes pinning, a second round, unlocking data, transaction weight, and a consensus/policy verdict.Validation
cargo test --locked --example binohash_appendix_b_resources(2 passed; includes checked-report parity)cargo test --locked --test primitive_metrics binohash_appendix_b_resource_metrics_are_current(1 passed)python3 tools/kb.py validate(204 records, 783 configurations)cargo fmt --all -- --check;git diff --check