Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidKeyLength = errors.New("invalid key length")
Functions ¶
func CalculatePathRoot ¶
Types ¶
type SMT ¶
type SMT struct {
// contains filtered or unexported fields
}
func (*SMT) GetAuthPath ¶
GetAuthPath returns authentication path and leaf node data for given key.
func (*SMT) GetRootHash ¶
GetRootHash returns the root hash of the SMT.
func (*SMT) PrettyPrint ¶
Click to show internal directories.
Click to hide internal directories.