Duke Leto
b58c15b9fb
update copyrights
3 years ago
Duke Leto
be16f80abc
Hush Full Node is now GPLv3
Any projects which want to use Hush code from now on will need to be licensed as
GPLv3 or we will send the lawyers: https://www.softwarefreedom.org/
Notably, Komodo (KMD) is licensed as GPLv2 and is no longer compatible to receive
code changes, without causing legal issues. MIT projects, such as Zcash, also cannot pull
in changes from the Hush Full Node without permission from The Hush Developers,
which may in some circumstances grant an MIT license on a case-by-case basis.
4 years ago
Duke Leto
4d965f53eb
A bunch more libsnark deletions/updates
4 years ago
ca333
492d6703ed
sync jl777:FSM
6 years ago
David Mercer
32d3a3352e
libsnark: convert long long and unsigned long to C++11 fixed-width types
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Eirik Ogilvie-Wigley
7d379f18c5
Rename test objects to include sprout or sapling
6 years ago
Eirik Ogilvie-Wigley
4fc309f0f5
Rename Merkle Trees to include sprout or sapling
6 years ago
Sean Bowe
8f5429a13a
Update merkle tree and pedersen hash tests to account for new encoding
6 years ago
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
jl777
e73b2055c6
Merge branch 'beta' into mergemaster
# Conflicts:
# src/main.cpp
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 .
6 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
7 years ago
Jack Grigg
0d37ae3a59
Migrate Zcash-specific code to UniValue
7 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