arnaucube
arnaucube/go-merkletree-oldPublic Self-hosted repository
go-merkletree-old/README.md
README.mdRaw
 1# go-merkletree [![Go Report Card](https://goreportcard.com/badge/github.com/arnaucube/go-merkletree)](https://goreportcard.com/report/github.com/arnaucube/go-merkletree) [![GoDoc](https://godoc.org/github.com/arnaucube/go-merkletree?status.svg)](https://godoc.org/github.com/arnaucube/go-merkletree)
 2Optimized MerkleTree implementation in Go.
 3
 4The 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.
 5
 6This 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.
 7
 8Adding 1000 leafs takes aprox:
 9- 465.612ms using Keccak256 as hash function
10- 317.362ms using SHA256 as hash function