Skip to content

test: cover descriptor templates offline - #63

Open
im-xiangda-li wants to merge 1 commit into
bitcoindevkit:masterfrom
im-xiangda-li:test/offline-descriptor-templates
Open

im-xiangda-li wants to merge 1 commit into
bitcoindevkit:masterfrom
im-xiangda-li:test/offline-descriptor-templates

Conversation

@im-xiangda-li

Copy link
Copy Markdown

Closes #51.

Cover BIP44, BIP49, BIP84 and BIP86 descriptor construction from both secret and watch-only account keys on the receive and change branches. Also cover 2-of-3 native and wrapped sorted multisig. The tests compare complete descriptors, including origins, derivation paths and checksums.

The test cases follow the coverage proposal in #51. I cross-checked the expected public keys and checksums with embit. All six offline tests passed with bdkpython 3.2.0, and Ruff passed.

This branch has not been deployed

No deployments
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.

test: expand offline descriptor test coverage to include all BIP descriptor constructors

1 participant