bhhbazinga / mkltree

merkle tree library implemented in Go language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mkltree

merkle tree library implemented in Go language.

Feature

  • build tree when initialized
  • proof whether a data block belongs to a merkle tree
  • add block one by one, then build tree. (Useful when reads data incrementally from big files.)
  • customize tree depth. (Default is binary tree. Depth depends on number of leaves.)
  • consider whether use double hash

How to Use?

please see example.go

Reference

Development environment

  • Go: 1.12.6

About

merkle tree library implemented in Go language.

License:Apache License 2.0


Languages

Language:Go 100.0%