Commit Graph

14 Commits

Author SHA1 Message Date
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 196c317d89
Explicitly check Points against None 2019-02-22 22:10:57 +00:00
Daira Hopwood c8036959ad Add assertions that we are running under Python 3.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2018-07-25 01:16:22 +01:00
Daira Hopwood 013efd4c87 Add test vectors for the first 4 Pedersen hash generators.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2018-07-03 15:04:41 +01:00
Daira Hopwood 4806d8494b Rename CRS to URS, matching version beta-21 of Sapling spec.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2018-07-03 15:04:41 +01:00
Jack Grigg 145fe37af5
Implement JSON output 2018-06-05 20:36:37 +12:00
Jack Grigg 9f4a41dcf3
Extract sapling_generators Rust rendering 2018-06-05 16:46:08 +12:00
Jack Grigg 7e37b8cc24
Move chunk() into tv_output module 2018-06-05 16:10:43 +12:00
Jack Grigg c795bb6ef7 Add comments to test vector output linking to source 2018-05-19 07:48:49 +12:00
Jack Grigg fb07e639b9 Generate test vectors for Sapling generators 2018-05-18 18:28:12 +12:00
Jack Grigg 9df19eb154 pylint 2018-05-18 18:01:08 +12:00
Jack Grigg 146c821fc9 Add remaining Sapling generators 2018-05-18 12:47:05 +12:00
Jack Grigg edaf23fdf8 Change variable names to match the spec 2018-05-18 12:45:19 +12:00
Jack Grigg 95f483fd3d Refactor into modules 2018-05-18 11:57:11 +12:00