Skip to content

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

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

BIP 158: Change test vectors from CSV to JSON format.#677
luke-jr merged 1 commit intobitcoin:masterfrom
jimpo:bip158-test-vectors

Conversation

@jimpo
Copy link
Copy Markdown
Contributor

@jimpo jimpo commented May 1, 2018

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.
Copy link
Copy Markdown
Contributor

@aakselrod aakselrod left a comment

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
Copy link
Copy Markdown
Contributor Author

jimpo commented May 14, 2018

@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