Documentation
¶
Overview ¶
Package verifier allows client to verify a tree proof.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNeighborsLen occurs when the neighbor list length is longer than // the maximum allowed value. ErrNeighborsLen = fmt.Errorf("Neighbors len > %d", sparse.IndexLen) // ErrIndexBit occurs when the string-formatted index contains an invalid // bit (character), i.e., other than '0' or '1'. ErrIndexBit = errors.New("Invalid index bit") // ErrInvalidProof occurs when the provided tree proof cannot be // verified. This can be caused by an invalid neighbor tree or root. ErrInvalidProof = errors.New("Invalid proof") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.