Skip to content

test: add BIP32 vectors 3 and 4 to the extendedkey self-test - #36185

Open
fametrano wants to merge 1 commit into
bitcoin:masterfrom
fametrano:test-bip32-vectors
Open

fametrano wants to merge 1 commit into
bitcoin:masterfrom
fametrano:test-bip32-vectors

Conversation

@fametrano

Copy link
Copy Markdown
Contributor

test_bip32_vectors covers BIP32 vectors 1 and 2 only. Vectors 3 and 4 test retention of leading zeros in a private key and hardened derivation over such a key — the cases implementations have historically got wrong.

Both run against the existing API; no new capability is needed.

@DrahtBot DrahtBot added the Tests label Sep 7, 2026
@DrahtBot

DrahtBot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36185.

Reviews

See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.

test_bip32_vectors covers vectors 1 and 2 only. Add vectors 3 and 4 from
BIP32, which exercise retention of leading zeros in a private key and
hardened derivation over such a key. Both run against the existing API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants