Commit Graph

5 Commits

Author SHA1 Message Date
Jack Grigg 2093b309f4 Refactor test vectors into package
Scripts that were previously run via:
    poetry run python ./SCRIPT_NAME.py

and have been moved, can now be run as:
    poetry run SCRIPT_NAME

Some top-level scripts remain, where they only generate test vectors and
do not contain any Zcash logic. These now use the `zcash_test_vectors`
package, and can't be run directly unless this package is made available
in `PYTHONPATH`.
2022-01-13 02:46:20 +00:00
Daira Hopwood efee9dcb03 chmod +x for scripts and make the shebang/preamble consistent.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-15 18:03:47 +01:00
Daira Hopwood 929692ecdc Rename sapling_utils.py to utils.py.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-05-09 12:44:39 +08:00
Jack Grigg 9cb9e0f9bc Generate random test vectors for MapToCurve, GroupHash, Sinsemilla 2021-04-29 12:59:16 +12:00
Jack Grigg 10bdd6c5f8 Split apart MapToCurveSimpleSWU and GroupHash test vectors
The test vector generators in this repository are meant to output data
that can be copy-pasted or piped to a file. Generating multiple sets of
test vectors from a single file interferes with this.
2021-04-29 12:29:31 +12:00