arnaucube 8ce9b88cfd | 5 years ago | |
---|---|---|
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 5 years ago | |
db.go | 5 years ago | |
go.mod | 5 years ago | |
go.sum | 5 years ago | |
merkletree.go | 6 years ago | |
merkletreeSpecification_test.go | 5 years ago | |
merkletree_test.go | 5 years ago | |
node.go | 6 years ago | |
print.go | 6 years ago | |
utils.go | 5 years ago | |
utils_test.go | 5 years ago |
Optimized MerkleTree implementation in Go.
The MerkleTree is optimized in the design and concepts, to have a faster and lighter MerkleTree, maintaining compatibility with a non optimized MerkleTree. In this way, the MerkleRoot of the optimized MerkleTree will be the same that the MerkleRoot of the non optimized MerkleTree.
This repo is holds the nostalgic (old) version of the MerkleTree implementation that we used in the past in iden3, as now has been substituted by a new specification.
Adding 1000 leafs takes aprox: