diff options
author | Akio Nakamura <nakamura@dgtechnologies.co.jp> | 2018-08-06 20:22:31 +0900 |
---|---|---|
committer | Akio Nakamura <nakamura@dgtechnologies.co.jp> | 2018-08-27 20:14:47 +0900 |
commit | a9910d82c3750e422c886a68a2cb24211db84ec6 (patch) | |
tree | 6177449b1ae6a9ea82e2447b9f86657397ea388f /contrib/testgen/README.md | |
parent | e13a820f995606f0ed7aa74233c94c0d977e222d (diff) |
contrib: Adjust output to current test format
Ajust the outputs of gen_base58_test_vectors.py to current test format.
1. Add bech32 vector generation.
2. Add Script-fragments to hexrepr in the format expected by the test.
3. Modify the metadata.
1) Change 'isTestnet' to 'chain' (main/test/regtest)
2) Remove 'addrType'
3) Add 'tryCaseFlip' (True/False on bech32)
Diffstat (limited to 'contrib/testgen/README.md')
-rw-r--r-- | contrib/testgen/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/testgen/README.md b/contrib/testgen/README.md index 83624f443a..580ed541cf 100644 --- a/contrib/testgen/README.md +++ b/contrib/testgen/README.md @@ -4,5 +4,5 @@ Utilities to generate test vectors for the data-driven Bitcoin tests. Usage: - gen_base58_test_vectors.py valid 50 > ../../src/test/data/base58_keys_valid.json - gen_base58_test_vectors.py invalid 50 > ../../src/test/data/base58_keys_invalid.json
\ No newline at end of file + PYTHONPATH=../../test/functional/test_framework ./gen_key_io_test_vectors.py valid 50 > ../../src/test/data/key_io_keys_valid.json + PYTHONPATH=../../test/functional/test_framework ./gen_key_io_test_vectors.py invalid 50 > ../../src/test/data/key_io_keys_invalid.json |