Skip to content

Measure Appendix B single-round Binohash resources - #347

Open
adrienlacombe wants to merge 1 commit into
solving-bitcoin:mainfrom
adrienlacombe:codex/binohash-appendix-b-resources
Open

adrienlacombe wants to merge 1 commit into
solving-bitcoin:mainfrom
adrienlacombe:codex/binohash-appendix-b-resources

Conversation

@adrienlacombe

Copy link
Copy Markdown
Contributor

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, and 151,8. A checked report records final policy-produced bytes, static non-push opcodes, and the conditional Core CHECKMULTISIG pubkey charge. At n=120,t=8 the 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
  • Full non-field Rust suite will run in CI.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T19:51:30.698417Z 4ab2d85 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread knowledge/catalog.json
Comment on lines +8224 to +8225
"witness_items": null,
"hint_items": null

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant