Daira Hopwood
ade6c0596a
Commit all JSON and Zcash test vectors. fixes #64
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-02-07 22:58:59 +00:00
therealyingtong
e193d8775a
Add test vectors for unified IVKs.
...
Co-authored-by: Ying Tong Lai <yingtong@electriccoin.co>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-02-07 20:04:30 +00:00
Kris Nuttycombe
b682f6f306
Use secp256k1 for generation of transparent OVK test vectors.
2022-02-01 16:12:22 -07:00
Daira Hopwood
3ef06e7ee3
Add zip_0316 (transparent ovk test vectors) to regenerate.sh and check in the Rust vectors.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-02-01 21:56:13 +00:00
Daira Hopwood
f7f726bf0d
Add `internal_ivk` and `internal_fp` to Sapling internal key test vector fields.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-02-01 20:29:09 +00:00
Daira Hopwood
b955625f52
Calls to `self.tag()` in Sapling internal key derivation should have been to `self.parent_tag()`
...
Co-authored-by: Ying Tong Lai <yingtong@z.cash>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-02-01 20:29:09 +00:00
Daira Hopwood
6c2bac7b73
Add test vectors for Orchard internal key derivation.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-02-01 20:29:09 +00:00
Daira Hopwood
b10115d363
Add test vectors for Sapling internal key derivation.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-02-01 20:29:09 +00:00
Daira Hopwood
f81796c12a
Coinbase scripts generated by zcashd have an extra OP_0, and nSequence == 0xFFFFFFFF.
...
Also, the height in coinbase needs to match nExpiryHeight.
Co-authored-by: Jack Grigg <str4d@electriccoin.co>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-31 21:38:31 +00:00
Daira Hopwood
60faf1c2c5
Generate some v5 coinbase transactions.
...
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-27 23:43:29 +00:00
Daira Hopwood
ff9e171ff3
Update the computation of ZIP 244 test vectors to match https://github.com/zcash/zips/pull/587 .
...
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-27 23:34:40 +00:00
Kris Nuttycombe
0afbd1f240
Correct the types of variable-length fields for ZIP 244 test vectors.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-01-27 22:52:50 +00:00
Kris Nuttycombe
e3959621fd
Add zip244 test vectors.
2022-01-12 19:27:28 -07:00
Kris Nuttycombe
cbb71f6a9a
Add generated test vectors for zip_143, zip_243, zip_244, unified addresses, and ufvks
2022-01-12 18:50:18 -07:00
Jack Grigg
3174db5d00
Commit generated test vectors
2022-01-07 22:57:23 +00:00