bitcoin/contrib/testgen
2021-03-18 14:28:46 -07:00
..
base58.py scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
gen_key_io_test_vectors.py bugfix: fix bech32_encode calls in gen_key_io_test_vectors.py 2021-03-18 14:28:46 -07:00
README.md Add signet support to gen_key_io_test_vectors.py 2021-03-16 10:48:40 -07:00

TestGen

Utilities to generate test vectors for the data-driven Bitcoin tests.

Usage:

PYTHONPATH=../../test/functional/test_framework ./gen_key_io_test_vectors.py valid 70 > ../../src/test/data/key_io_valid.json
PYTHONPATH=../../test/functional/test_framework ./gen_key_io_test_vectors.py invalid 70 > ../../src/test/data/key_io_invalid.json