bitcoin/contrib/testgen
2020-10-16 13:48:17 +02:00
..
base58.py contrib: Fix SyntaxWarning in Python base58 implementation 2020-06-15 21:36:54 +01:00
gen_key_io_test_vectors.py contrib: Fix gen_key_io_test_vectors.py imports 2020-10-16 13:48:17 +02:00
README.md docs: match usage text to script and location 2020-06-21 10:31:18 +01: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 50 > ../../src/test/data/key_io_valid.json
PYTHONPATH=../../test/functional/test_framework ./gen_key_io_test_vectors.py invalid 50 > ../../src/test/data/key_io_invalid.json