Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

BIP322: update test vectors - #2377

Open
guggero wants to merge 1 commit into
bitcoin:masterfrom
guggero:bip322-update-test-vectors
Open

guggero wants to merge 1 commit into
bitcoin:masterfrom
guggero:bip322-update-test-vectors

Conversation

@guggero

@guggero guggero commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Updates the test vectors to the latest version of the btcd pull request they are generated by (btcsuite/btcd#2521), which grew considerably during review:

  • Every error vector now states the verification state that is expected for it, invalid or inconclusive.
  • The basic vectors gain valid edge cases and more hand-picked error cases.
  • The generated error vectors move to their own file and now cover the consensus, required and upgradeable rules as well as the structure of to_sign for all three variants. That includes the taproot upgrade mechanisms that were added to the upgradeable rules in version 2.1.0.

Bump the version to 2.1.1 and add a changelog entry.

Updates the test vectors to the latest version of the btcd pull request
they are generated by (btcsuite/btcd#2521), which grew considerably
during review:

 - Every error vector now states the verification state that is
   expected for it, invalid or inconclusive.
 - The basic vectors gain valid edge cases and more hand-picked error
   cases.
 - The generated error vectors move to their own file and now cover the
   consensus, required and upgradeable rules as well as the structure
   of to_sign for all three variants. That includes the taproot upgrade
   mechanisms that were added to the upgradeable rules in version
   2.1.0.

Bump the version to 2.1.1 and add a changelog entry.
@guggero guggero changed the title BIP-0322: update test vectors BIP322: update test vectors Dec 3, 2026
@jonatack jonatack added BIP Update by Owner PR by Author or Deputy to modify their own BIP Tests labels Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BIP Update by Owner PR by Author or Deputy to modify their own BIP Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants