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
}
Click to show internal directories.
Click to hide internal directories.