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
bc75d044a1
Use specific tx formats compatible with sighash algorithms
...
ZIP 244 is only defined for v5 transactions, so use the TransactionV5
type directly; likewise use LegacyTransaction with the ZIP 143 and
ZIP 243 APIs.
2021-05-26 18:01:00 +01:00
Jack Grigg
da4e9b22dc
Test vectors for ZIP 244
2021-05-26 17:46:54 +01: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
73b8401b9a
Use i64 for amounts in Rust test vectors
2018-10-11 18:38:33 +01:00
Jack Grigg
17d146b5a9
Refactor Rust output rendering to support reformatting
...
Used to convert a -1 for JSON to Option::None in Rust
2018-08-21 20:13:11 +01:00
Jack Grigg
af98406307
Use snake_case for ZIP 143 test vector part names
2018-08-21 19:37:16 +01:00
Jack Grigg
07b7a6e8d8
Don't reverse 32-byte transactions in Zcash output
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