merkle

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HashSize = 32
)

Functions

func CalculateMerkleRoot

func CalculateMerkleRoot(entries []MerkleEntry) []byte

func CalculateMerkleTree

func CalculateMerkleTree(entries []MerkleEntry) [][]byte

Types

type MerkleEntry

type MerkleEntry interface {
	GetHash() []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL