33a95555dc
`[[]] * length` creates an array of the correct length, but where every entry is an alias to the same inner array. Pushing to any of the arrays was behaving as if we were pushing to all of them, instead of updating independent paths. |
||
---|---|---|
.gitignore | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
bech32m.py | ||
f4jumble.py | ||
ff1.py | ||
orchard_commitments.py | ||
orchard_empty_roots.py | ||
orchard_generators.py | ||
orchard_group_hash.py | ||
orchard_iso_pallas.py | ||
orchard_key_components.py | ||
orchard_map_to_curve.py | ||
orchard_merkle_tree.py | ||
orchard_note.py | ||
orchard_note_encryption.py | ||
orchard_pallas.py | ||
orchard_poseidon.py | ||
orchard_poseidon_hash.py | ||
orchard_sinsemilla.py | ||
orchard_utils.py | ||
poetry.lock | ||
pyproject.toml | ||
requirements.txt | ||
sapling_generators.py | ||
sapling_jubjub.py | ||
sapling_key_components.py | ||
sapling_merkle_tree.py | ||
sapling_note_encryption.py | ||
sapling_notes.py | ||
sapling_pedersen.py | ||
sapling_signatures.py | ||
sapling_zip32.py | ||
transaction.py | ||
tv_output.py | ||
tv_rand.py | ||
unified_address.py | ||
utils.py | ||
zc_utils.py | ||
zip_0143.py | ||
zip_0243.py | ||
zip_0244.py |
README.md
Zcash Python test vectors
Code to generate test vectors for various parts of Zcash.
Requirements:
pyblake2
chacha20poly1305
(forsapling_note_encryption.py
).numpy
(fororchard_poseidon.py
and dependents).
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.