mirror of
https://github.com/vbatts/merkle.git
synced 2024-12-03 11:35:40 +00:00
Golang Merkle Tree Implementation. With hash.Hash interface for streaming support
Vincent Batts
08e311195d
Based on stdlib's `sha256`. Initial output: BenchmarkHash8Bytes 100000 20387 ns/op 0.39 MB/s BenchmarkHash1K 50000 25876 ns/op 39.57 MB/s BenchmarkHash8K 50000 38836 ns/op 210.94 MB/s |
||
---|---|---|
.travis.yml | ||
block.go | ||
block_test.go | ||
doc.go | ||
LICENSE | ||
node.go | ||
node_test.go | ||
README.md | ||
stream.go | ||
stream_test.go | ||
tree.go |
merkle
Golang Merkle Tree Implementation, with hash.Hash
interface for streaming support.
Docs
What's Next?
- More tests and review
- Streaming
HashTreeer
type, that can validate provided Nodes, for streaming validation
License
See LICENSE