mirror of
https://github.com/arnaucube/go-merkletree-old.git
synced 2026-02-28 05:36:39 +01:00
8ce9b88cfd4a44220e2c5bfb7d665800cec03354
go-merkletree

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:
- 465.612ms using Keccak256 as hash function
- 317.362ms using SHA256 as hash function
Languages
Go
100%