Repository navigation
docs: pin btc-lean and index its consensus census - #1064
Draft
rearden-grok[bot] wants to merge 6 commits into
Draft
rearden-grok[bot] wants to merge 6 commits into
rearden-grok[bot] wants to merge 6 commits into
Conversation
Vendor Rob1Ham/btc-lean at 4f5c4f858 as third_party/btc-lean. docs/btc-lean-census.md names a production or test file for each of the 726 consensus rows, or a reason the row has no site.
File pointers do not say which line does the check. Each mapped row now cites the production statement and the test statement. A // btc-lean: comment on that line names the census ids, and scripts/btc-lean-census.sh fails when an id, a comment, or a line number drifts.
Drop the census markdown. The qc job inits third_party/btc-lean and checks spec/db/rules.yaml against // btc-lean: comments. Proven rows with no statement are docs/btc-lean-gaps.md. Obsolete rows stay in the yaml and need no comment.
The gaps list is the inventory of rows with no statement. It cites the same gitlink commit the checker reads.
Rob1Ham/btc-lean tip is c6e8f5e (merge of p4-proof-scope). spec/db/rules.yaml is byte-identical to the previous pin, so the // btc-lean: comments and the gap reasons stay. The gaps file cites the new commit.
The census at that commit retargets pair-aligned merkle, the upper median, witness-nonce hashing, and the policy/consensus split. Comments that still sat on the previous statement now sit on the line that implements the new text. The gaps file cites the new pin. Co-authored-by: Cursor <cursoragent@cursor.com>
rearden-grok
Bot
force-pushed
the
docs/btc-lean-inventory
branch
from
October 19, 2026 21:20
f1896e4 to
b0a1247
Compare
reardencode
marked this pull request as draft
October 19, 2026 22:36
Contributor
|
Two independent reviews. needs changing before merge
worth doing, does not block
nits
|
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.
Summary
d390f7932e64a134aec3cca1614bed3276539f2das a shallow gitlink,third_party/btc-lean, the same mechanism asthird_party/bitcoin. The previous pin wasc6e8f5e91f30b1c690b4d0320404517120a8b52d. The 726 ids are unchanged (676 proven, 50 obsolete). 169 rows changed a field, including the consensus/policy split and the corrected merkle, median, witness-nonce, and powLimit sentences.// btc-lean:comment on the statement that implements or tests it, or listed with a reason indocs/btc-lean-gaps.md. Comments that sat on the previous statement were moved onto the line the new sentence describes (upper median, witness nonce bytes, tapscript hashtype and pubkey size, NOP success, annex hash, key-path Schnorr, validation-weight serialization).status: obsoleteneeds no comment.Test plan
d390f7932e64a134aec3cca1614bed3276539f2d.qc,test,windows,macos,coverageon the pin bump.