diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-09-29 11:13:32 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-10-01 04:57:26 +0200 |
commit | d6b13283d19b3229ec1aee62bf7b4747c581ddab (patch) | |
tree | 7f7ba485f33dbd8b93a4670fa58365f2ac064f90 /src/test/data/base58_encode_decode.json | |
parent | 842a31ad1bea930c7ae2adcea929e3b8f0febfed (diff) |
data-driven base58 CBitcoinAddress/CBitcoinSecret tests
Arbitrary numbers of test vectors can be generated using the script
`gen_base58_test_vectors.py`.
Diffstat (limited to 'src/test/data/base58_encode_decode.json')
-rw-r--r-- | src/test/data/base58_encode_decode.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/data/base58_encode_decode.json b/src/test/data/base58_encode_decode.json new file mode 100644 index 0000000000..9448f256d9 --- /dev/null +++ b/src/test/data/base58_encode_decode.json @@ -0,0 +1,14 @@ +[ +["", ""], +["61", "2g"], +["626262", "a3gV"], +["636363", "aPEr"], +["73696d706c792061206c6f6e6720737472696e67", "2cFupjhnEsSn59qHXstmK2ffpLv2"], +["00eb15231dfceb60925886b67d065299925915aeb172c06647", "1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L"], +["516b6fcd0f", "ABnLTmg"], +["bf4f89001e670274dd", "3SEo3LWLoPntC"], +["572e4794", "3EFU7m"], +["ecac89cad93923c02321", "EJDM8drfXA6uyA"], +["10c8511e", "Rt5zm"], +["00000000000000000000", "1111111111"] +] |