Documentation
¶
Index ¶
Constants ¶
View Source
const DigestLength = 32
DigestLength is the length of a Digest in number of bytes.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Digest ¶
type Digest = [DigestLength]byte
Digest is a 32-byte hash digest.
var ZeroDigest Digest
func TreeWithProofs ¶
TreeWithProofs returns a the root of the merkle-tree of the given values, along with merkle-proofs for each leaf.
Click to show internal directories.
Click to hide internal directories.