Add implementation of Sapling merkle tree

This commit is contained in:
Sean Bowe
2018-04-14 22:33:41 -06:00
parent a7cbb8475f
commit 2b002a7e60
3 changed files with 55 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
#define INCREMENTAL_MERKLE_TREE_DEPTH 29
#define INCREMENTAL_MERKLE_TREE_DEPTH_TESTING 4
#define SAPLING_INCREMENTAL_MERKLE_TREE_DEPTH 32
#define ZC_NOTEPLAINTEXT_LEADING 1
#define ZC_V_SIZE 8
#define ZC_RHO_SIZE 32