1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-03-05 20:06:47 +01:00
Commit graph

2 commits

Author SHA1 Message Date
Jim Posen
fe1d3f84ba BIP 158: Change test vectors from CSV to JSON format.
The JSON format is standard for Bitcoin Core test data.
2018-05-01 00:23:45 -07:00
Alex
3571e1a52d BIP158: add test vectors and generation code
In this commit, we add test vectors for filter and header construction and
the code to generate them. The included test vectors are for testnet with a
value of 20 for P. The code generates filters and headers for values of 1
through 32 for P using testnet blocks. Currently, to run the code,
the `Roasbeef` fork of `btcd` (at https://github.com/roasbeef/btcd) is
required to be running locally in testnet mode; this will be changed in a
future commit after the code is merged into the `btcsuite` mainline.
2018-04-03 12:09:26 -06:00