Skip to content

BIP 158: Change test vectors from CSV to JSON format. - #677

Merged
luke-jr merged 1 commit into
bitcoin:masterfrom
jimpo:bip158-test-vectors
May 20, 2018
Merged

luke-jr merged 1 commit into
bitcoin:masterfrom
jimpo:bip158-test-vectors

Conversation

@jimpo

@jimpo jimpo commented May 1, 2018

Copy link
Copy Markdown
Contributor

The JSON format is standard for Bitcoin Core test data, and projects that copy test data from Core. This does some additional refactoring to the gentestvectors.go program.

@aakselrod

The JSON format is standard for Bitcoin Core test data.

@aakselrod aakselrod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

utACK. For such small amounts of overhead, it might be more readable to make each test case a dictionary rather than usig a header row comment, but that wouldn't match the bitcoind tests.

@jimpo

jimpo commented May 14, 2018

Copy link
Copy Markdown
Contributor Author

@luke-jr Ping

@luke-jr
luke-jr merged commit 562a604 into bitcoin:master May 20, 2018
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