This website requires JavaScript.
7799b44664
Merge 97455a1eff
into 2badedaee3
str4d
2024-06-03 02:44:50 +0000
a16bc2c854
Merge 3aca9f5b80
into 2badedaee3
ying tong
2024-06-02 10:10:58 +0000
146ac7361a
Merge 73409919f5
into 2badedaee3
Kris Nuttycombe
2024-05-16 04:33:26 +0000
73409919f5
Make it possible to generate testnet test vectors for ZIP 320 addresses.
Kris Nuttycombe
2024-05-15 22:15:23 -0600
2badedaee3
Merge pull request #97 from nuttycom/zip_0320
master
Kris Nuttycombe
2024-04-24 13:30:06 -0600
4c82764cd2
Fix generation of source path metadata in zip_0320 test vectors.
Kris Nuttycombe
2024-04-24 13:08:16 -0600
439d5a3e12
Add ZIP 320 test vectors.
Kris Nuttycombe
2024-04-21 20:12:23 -0600
97455a1eff
Add key prefixing to RedJubjub
redjubjub-key-prefixing
Jack Grigg
2023-12-01 14:02:25 +0000
ddb3397f5e
Merge pull request #94 from zcash/zip32-sapling-hard
str4d
2023-12-01 11:01:30 +0000
13ea1ab387
Generate hardened-only Sapling ZIP 32 test vectors
Jack Grigg
2023-11-22 02:59:04 +0000
86e88c5348
Migrate to ripemd-hash dependency
Jack Grigg
2023-11-22 02:59:02 +0000
a64c3a63b0
Merge c019a2903e
into 7a55b39524
Daira Hopwood
2023-03-21 21:19:54 +0000
c019a2903e
Improve the usability of `regenerate.sh` and document it.
Daira Hopwood
2022-09-29 21:05:16 +0100
826e67c0ed
Add a runner for unit tests. (This is currently only the RIPEMD-160 test.)
Daira Hopwood
2022-09-29 21:04:14 +0100
9a39888f41
Add a pure Python implementation of RIPEMD-160 from Bitcoin: ad3e9e1f21/test/functional/test_framework/ripemd160.py
and use it instead of hashlib (which might not have RIPEMD-160 due to https://github.com/openssl/openssl/issues/16994 ).
Daira Hopwood
2022-09-29 21:02:33 +0100
98f1c3e7c3
Move orchard_vesta.py to zcash_test_vectors/orchard/vesta.py and adjust imports.
Daira Hopwood
2022-09-29 20:59:24 +0100
b2a62cf697
Merge c0a5e29f8f
into 7a55b39524
dependabot[bot]
2023-02-08 04:16:55 +0000
c0a5e29f8f
Bump cryptography from 38.0.1 to 39.0.1
dependabot/pip/cryptography-39.0.1
dependabot[bot]
2023-02-08 04:16:53 +0000
7a55b39524
Merge pull request #90 from nuttycom/diversified_ua_sequences
Daira Hopwood
2022-10-12 02:13:24 +0100
20d7cc6f54
Regenerate test vectors.
Kris Nuttycombe
2022-10-07 19:47:22 -0600
e454065250
Remove spurious rng argument to encode_unified.
Kris Nuttycombe
2022-10-07 18:19:17 -0600
97f9fbb44c
Generate predictable UA structure for the first 3 test vectors.
Kris Nuttycombe
2022-10-07 12:01:16 -0600
c14646f236
Apply suggestions from code review
Kris Nuttycombe
2022-10-07 10:30:23 -0600
fb5f931e5f
Ensure that successive diversified UAs have the same structure.
Kris Nuttycombe
2022-09-28 09:28:35 -0600
ac92513d4e
Fix derivation of transparent UA parts.
Kris Nuttycombe
2022-10-07 19:13:53 -0600
d98b63da5c
Merge pull request #89 from nuttycom/diversified_ua_sequences
Kris Nuttycombe
2022-09-23 12:20:16 -0600
73ced0f5c9
Update dependency versions.
Kris Nuttycombe
2022-09-19 15:23:23 -0600
8f18c764d6
Use unified addresse strings in test vectors rather than byte vectors.
Kris Nuttycombe
2022-09-19 13:59:00 -0600
23321662d1
Provide UA test vectors for the first 3 valid diversifier indices for each account.
Kris Nuttycombe
2022-09-15 14:24:45 -0600
3aca9f5b80
Extract common perm() helper from poseidon_fp
poseidon-fq
therealyingtong
2022-05-19 12:59:38 +0800
bbec810925
Add poseidon_fq test vectors
therealyingtong
2022-05-09 17:57:39 +0800
657b67ecb2
Add orchard/poseidon_fq.py
therealyingtong
2022-05-09 17:41:37 +0800
6b70adb9a9
Move orchard_vesta.py -> orchard/vesta.py
therealyingtong
2022-05-09 17:34:25 +0800
c47f82dbb3
Rename orchard/poseidon.py -> orchard/poseidon_fp.py
therealyingtong
2022-05-09 17:25:43 +0800
0cbb8200b0
Merge pull request #50 from zcash-hackworks/orchard-vesta
Daira Hopwood
2022-03-28 20:19:05 +0100
d56a9cdc45
Merge pull request #88 from zcash-hackworks/update-nu5-branch-id
str4d
2022-03-23 19:04:09 +0000
423d323728
Update NU5 consensus branch ID in ZIP 244 test vectors
Jack Grigg
2022-03-23 00:27:32 +0000
5a07b3aaa9
Merge 65f611ae39
into fe7ed09c6c
str4d
2022-03-11 14:58:24 +0000
65f611ae39
Add basic structural test vectors for legacy transactions
84-transaction-tvs
Jack Grigg
2022-03-11 14:53:50 +0000
7acac09230
Add basic structural test vectors for v5 transactions
Jack Grigg
2022-03-11 14:21:34 +0000
83255e64af
Fix bugs in value balance generation and serialization
Jack Grigg
2022-03-11 13:31:18 +0000
fe7ed09c6c
Merge pull request #82 from daira/ua-unknowns
Daira Hopwood
2022-02-14 15:11:17 +0000
ccf1e5d7df
Ensure that unknown items are included in Unified Address test vectors.
Daira Hopwood
2022-02-14 02:52:28 +0000
68760fb07d
Merge pull request #81 from daira/orchard-zip32
Kris Nuttycombe
2022-02-12 15:07:42 -0700
3872f29af5
Change the order of arguments to the bip_0032.Extended{Secret,Public}Key constructors to be (chaincode, sk), for consistency with the orchard.key_components.ExtendedSpendingKey constructor and with the serialization order.
Daira Hopwood
2022-02-12 21:42:32 +0000
2e99fdefc7
Fix endianness of the child index in bip_0032 derivation.
Daira Hopwood
2022-02-12 21:15:25 +0000
1c10ad5f4a
Avoid the need to specify a `rust_fmt` function for Options. This does not change test vectors.
Daira Hopwood
2022-02-12 20:46:02 +0000
54f168a30b
Include the seed used for derivation in UA/UIVK/UFVK test vectors. Also change variable-length vectors to use 'bitcoin_flavoured': False.
Daira Hopwood
2022-02-12 17:31:25 +0000
189cadb357
Reduce run times of unified_{address, incoming_viewing_keys, full_viewing_keys}.py by over half by avoiding duplicated work in deriving levels of the key hierarchy above the account level.
Daira Hopwood
2022-02-11 16:12:16 +0000
f8a462d859
Make the test vectors for UAs, UIVKs, and UFVKs match up, and allow unknown items for UAs. Also increase the number of test vectors to 20 (10 might be insufficient to see some corner cases).
Daira Hopwood
2022-02-11 15:30:56 +0000
3477c241aa
Add BIP 32 key derivation and test vectors.
Daira Hopwood
2022-02-11 01:53:37 +0000
e5d31fea89
Implement ZIP 32 derivation for Orchard and use it for the Unified Address, IVK and FVK test vectors.
Daira Hopwood
2022-02-10 22:56:33 +0000
68e4ed1ee2
Change the seed used for Unified Address, IVK and FVK test vectors to be deterministic.
Daira Hopwood
2022-02-09 16:43:58 +0000
060ea786f7
Refactor Zcash SLIP 44 coin type and the `hardened` function into a separate file, since they are not specific to Sapling.
Daira Hopwood
2022-02-08 18:32:11 +0000
cc3376f37e
Merge pull request #80 from daira/reorg
Daira Hopwood
2022-02-11 16:27:39 +0000
d6d69f8388
Merge files that were only separate in order to provide multiple entry points.
Daira Hopwood
2022-02-08 14:56:48 +0000
f07451a025
Move remaining scripts out of the root directory. closes #79
Daira Hopwood
2022-02-08 13:48:29 +0000
c7f9463713
Merge pull request #77 from daira/fix-nested-byte-arrays
str4d
2022-02-08 05:22:17 +0000
6b2009635d
[GitHub Actions] Generate Bitcoin-flavoured test vectors with .json filetype.
Daira Hopwood
2022-02-07 21:50:35 +0000
b056349c8b
[GitHub Actions] Show diff if test vectors generated by CI do not match.
Daira Hopwood
2022-02-07 21:12:15 +0000
ade6c0596a
Commit all JSON and Zcash test vectors. fixes #64
Daira Hopwood
2022-02-07 20:34:28 +0000
823c8a54f4
Fix serialization of nested arrays in JSON.
Daira Hopwood
2022-02-07 20:33:14 +0000
bb67196aa5
Merge pull request #70 from zcash-hackworks/unified-ivks
Daira Hopwood
2022-02-07 22:58:22 +0000
72aa4e9962
Reduce differences between unified_full_viewing_keys.py and unified_incoming_viewing_keys.py.
Daira Hopwood
2022-02-07 20:30:01 +0000
e193d8775a
Add test vectors for unified IVKs.
therealyingtong
2022-01-13 18:06:30 +0800
5eb385fc3a
Merge pull request #73 from daira/remove-pyblake2
str4d
2022-02-02 23:43:25 +0000
49a20a87d7
Remove dependency on pyblake2.
Daira Hopwood
2022-02-02 02:25:52 +0000
df2a648ac4
Merge pull request #76 from nuttycom/derive_transparent_ovks
str4d
2022-02-01 23:55:15 +0000
b682f6f306
Use secp256k1 for generation of transparent OVK test vectors.
Kris Nuttycombe
2022-02-01 16:10:28 -0700
3ef06e7ee3
Add zip_0316 (transparent ovk test vectors) to regenerate.sh and check in the Rust vectors.
Daira Hopwood
2022-02-01 21:56:13 +0000
b4ccca8d17
Add test vectors for transparent OVKs
Kris Nuttycombe
2022-02-01 14:35:46 -0700
ae7b8a1038
Merge pull request #75 from daira/internal-derivation
Daira Hopwood
2022-02-01 20:47:04 +0000
674dc7c054
Cosmetics.
Daira Hopwood
2022-02-01 20:24:29 +0000
f7f726bf0d
Add `internal_ivk` and `internal_fp` to Sapling internal key test vector fields.
Daira Hopwood
2022-02-01 16:14:51 +0000
b955625f52
Calls to `self.tag()` in Sapling internal key derivation should have been to `self.parent_tag()`
Daira Hopwood
2022-02-01 16:07:23 +0000
2234fa1242
Refactor the Orchard FullViewingKey constructor by adding FullViewingKey.from_spending_key.
Daira Hopwood
2022-02-01 15:54:50 +0000
6c2bac7b73
Add test vectors for Orchard internal key derivation.
Daira Hopwood
2022-01-31 20:35:42 +0000
b10115d363
Add test vectors for Sapling internal key derivation.
Daira Hopwood
2022-01-31 18:05:14 +0000
5d6b92cd5c
Merge pull request #72 from zcash-hackworks/zip_244_coinbase
str4d
2022-01-31 21:55:04 +0000
f81796c12a
Coinbase scripts generated by zcashd have an extra OP_0, and nSequence == 0xFFFFFFFF. Also, the height in coinbase needs to match nExpiryHeight.
Daira Hopwood
2022-01-31 20:56:20 +0000
60faf1c2c5
Generate some v5 coinbase transactions.
Daira Hopwood
2022-01-27 23:43:29 +0000
ff9e171ff3
Update the computation of ZIP 244 test vectors to match https://github.com/zcash/zips/pull/587 .
Daira Hopwood
2022-01-27 22:49:38 +0000
0afbd1f240
Correct the types of variable-length fields for ZIP 244 test vectors.
Kris Nuttycombe
2022-01-25 14:57:29 -0700
1fe8d320de
Provide default_backend() to ec.derive_private_key().
therealyingtong
2022-01-13 16:55:54 +0800
74747238b4
Merge pull request #62 from zcash-hackworks/refactor-into-package
Kris Nuttycombe
2022-01-12 21:00:13 -0700
2093b309f4
Refactor test vectors into package
Jack Grigg
2022-01-07 14:52:55 +0000
69dd363272
Merge pull request #67 from nuttycom/fix_zip0244_field_names
str4d
2022-01-13 02:45:08 +0000
e3959621fd
Add zip244 test vectors.
Kris Nuttycombe
2022-01-12 18:10:18 -0700
0a6297335f
Rename scriptCode -> scriptPubKey
Kris Nuttycombe
2022-01-12 18:10:18 -0700
1ce0af7cd3
Merge pull request #68 from nuttycom/add_missing_test_vectors
str4d
2022-01-13 02:09:47 +0000
cbb71f6a9a
Add generated test vectors for zip_143, zip_243, zip_244, unified addresses, and ufvks
Kris Nuttycombe
2022-01-12 18:43:06 -0700
db01d4e23b
Merge pull request #63 from zcash-hackworks/ci-check-test-vectors
str4d
2022-01-10 16:36:00 +0000
13b0cb1d92
CI: Ensure that all test vector variants are always checked
Jack Grigg
2022-01-08 00:10:08 +0000
053edd9e33
CI: Use `git status --porcelain` to verify no changes
Jack Grigg
2022-01-07 23:55:40 +0000
3174db5d00
Commit generated test vectors
Jack Grigg
2022-01-07 22:36:17 +0000
ffd11d94ec
CI: Add workflow to verify test vectors are up-to-date
Jack Grigg
2022-01-07 22:08:44 +0000
290218811f
Merge pull request #60 from daira/license-contribution-text
str4d
2022-01-07 15:04:44 +0000
6ee8ff7f51
Merge pull request #61 from zcash-hackworks/57-zip244-changes
str4d
2022-01-07 11:57:54 +0000
9a666e4a29
ZIP 244: Reverse order of value and script_code in txin_sig_digest
Jack Grigg
2022-01-06 17:01:11 +0000
fe666c2b94
ZIP 244: Add hash_type to transparent_sig_digest
Jack Grigg
2022-01-06 16:51:32 +0000