Sean Bowe
|
40bfb9e5b9
|
Swap bit endianness of test vectors
|
6 years ago |
Sean Bowe
|
7b62078782
|
Remove underscores from gtest test names.
|
6 years ago |
Sean Bowe
|
2f23a656fb
|
Add regression tests and test vectors for Sapling merkle tree
|
6 years ago |
Jack Grigg
|
d58ed91af0
|
Optimise serialization of MerklePath, avoiding ambiguity of std::vector<bool>
The serialization enforces a maximum supported Merkle tree depth of 64.
Closes #2831.
|
7 years ago |
Jack Grigg
|
fee8835388
|
Mark libsnark includes as library includes
|
7 years ago |
Jack Grigg
|
02972a1bcd
|
[cleanup] Simplify test code
|
7 years ago |
Jack Grigg
|
5fb326d41d
|
Manually iterate over UniValue arrays in tests
|
8 years ago |
Jack Grigg
|
0d37ae3a59
|
Migrate Zcash-specific code to UniValue
|
8 years ago |
Sean Bowe
|
fc538ec2ea
|
Add test for IncrementalMerkleTree::size().
|
8 years ago |
Sean Bowe
|
3e2e8b5b42
|
Add test that `last` and `element` will throw exception when the tree is blank.
|
8 years ago |
Sean Bowe
|
d92bea9888
|
Add tests for witness `element` and tree `last` methods. Strengthen testing by inserting a different commitment into the tree at each step.
|
8 years ago |
Sean Bowe
|
ae6b333c75
|
Perform curve parameter initialization at start of gtest suite.
|
8 years ago |
Sean Bowe
|
f0dab51cf3
|
Implement zkSNARK compression.
|
8 years ago |
Sean Bowe
|
2668a1bc13
|
Remove the rest of libzerocash.
|
8 years ago |
Sean Bowe
|
6ab0a227c6
|
Fix test against merkle tree root.
|
8 years ago |
Taylor Hornby
|
bf2e3122ac
|
Remove the Merkle tree hash function's fixed point.
|
8 years ago |
Sean Bowe
|
0d990f31a7
|
Stop testing old tree against new tree.
|
8 years ago |
Sean Bowe
|
6850b45e4d
|
Move incremental merkle tree tests to zcash-gtest.
|
8 years ago |
Taylor Hornby
|
0000d23121
|
Add empty merkle/noteencryption tests so Sean can rebase.
|
8 years ago |