Skip to content

[BIP-0119] Include test vectors for CTV in BIP's subdirectory#1260

Merged
luke-jr merged 1 commit intobitcoin:masterfrom
JeremyRubin:ctv-test-vectors
Jan 15, 2022
Merged

[BIP-0119] Include test vectors for CTV in BIP's subdirectory#1260
luke-jr merged 1 commit intobitcoin:masterfrom
JeremyRubin:ctv-test-vectors

Conversation

@JeremyRubin
Copy link
Copy Markdown
Contributor

This PR adds test vector files for those wishing to check CTV behavior matches Bitcoin Core / the BIP.

@JeremyRubin
Copy link
Copy Markdown
Contributor Author

cc @glozow these match the test vectors currently in the BIP; you can cross reference those in review.

Copy link
Copy Markdown
Member

@glozow glozow left a comment

Choose a reason for hiding this comment

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

utACK ae747e2 - I haven't verified that all the tests match the spec or how well it covers all permutations of scripts, but thanks for adding test vectors. Assuming the coverage is good, to a maintainer of a client that isn't Bitcoin Core, I imagine this would be much more helpful than trying to match the reference implementation.

https://github.com/JeremyRubin/bitcoin/tree/checktemplateverify.

Test vectors are available in [/bip-0119/vectors the bip-0119/vectors
directory] for checking compatibility with the refrence implementation and BIP.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
directory] for checking compatibility with the refrence implementation and BIP.
directory] for checking compatibility with the reference implementation and BIP.

@luke-jr luke-jr merged commit 01fe8b4 into bitcoin:master Jan 15, 2022
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.

3 participants