Commit Graph

8 Commits

Author SHA1 Message Date
str4d 61d2ae2425
Merge pull request #49 from daira/large-uas
Updates for large UAs/UVKs
2021-09-23 11:19:40 +12:00
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 33a95555dc Use list comprehension to initialize paths
`[[]] * 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.
2021-09-13 22:36:44 +01:00
therealyingtong 9e1563af0d Merkle path test vectors for a depth-4 tree
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2021-09-13 22:36:32 +01:00
Jack Grigg f59d31132c Add Orchard empty root test vectors 2021-06-10 23:57:45 +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
Daira Hopwood 5a820ad113 Fix length of layer prefix in orchard_merkle_tree.py.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-05-06 16:14:28 +01:00
therealyingtong c73aabd641 Add Orchard MerkleCRH 2021-04-30 12:20:37 +08:00