Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyTree ¶
func VerifyTree(tree *mt.MerkleTree, leafs []mt.DataBlock) bool
Types ¶
type TreeContent ¶
type TreeContent struct {
// contains filtered or unexported fields
}
func CreateTree ¶
func CreateTree() *TreeContent
func (*TreeContent) AddLeaf ¶
func (tc *TreeContent) AddLeaf(key string, data string)
func (*TreeContent) Build ¶
func (tc *TreeContent) Build() (*mt.MerkleTree, map[string]mt.DataBlock, error)
Click to show internal directories.
Click to hide internal directories.