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
Jack Grigg
445c2602f4
Rename header() to version_bytes()
...
Now that the v5 transaction format has an actual header region, this
old naming makes less sense.
2021-05-26 18:12:16 +01:00
Jack Grigg
b9ce8224b6
Implement structural generator for v5 transaction format (ZIP 225)
2021-05-26 17:46:53 +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
c6cd47a5dd
Fix Rand.u8() to return unsigned integers
...
Existing test vector generators are adjusted to use Rand.i8() so they
generate the same test vectors. We should evaluate these later to
determine whether they should actually use Rand.u8() (and update the
test vectors across the ecosystem).
2021-04-29 12:57:40 +12:00
Jack Grigg
281dc5b0c8
Only generate valueBalance and bindingSig for v4+ transactions
...
Reverts a change to the ZIP 143 test vectors caused by #9 .
2019-02-22 22:16:56 +00:00
Jack Grigg
3f9edde19f
Generate a valid Jubjub point for SpendDescription test vectors
2018-10-11 18:37:24 +01:00
Simon
60db123206
Implement ZIP 243 test vectors.
...
Co-authored-by: Jack Grigg <jack@z.cash>
2018-08-23 14:23:08 +01:00
Jack Grigg
acdfe06c87
Implement CompactSize helper
2018-08-20 12:26:48 +01:00
Jack Grigg
9448eeeee5
Implement JoinSplits in ZIP 143 test vectors
2018-08-20 12:26:48 +01:00
Ariel Gabizon
704a2ac14d
Implement ZIP 143 test vector generation
...
No support for JoinSplits yet.
Co-authored-by: Jack Grigg <jack@z.cash>
2018-08-20 12:26:43 +01:00