Documentation ¶
Index ¶
- func GenRoot(pg *PathGen) merkle.Leaf
- func GenRoots(pg *PathGen) (roots [merkle.DEPTH + 1]merkle.Leaf)
- func NextPathGen(pc *IndexCur, pg *PathGen, roots *[merkle.DEPTH + 1]merkle.Leaf)
- func ParseIndex(pc *IndexCur, index uint64) uint64
- func PartialPath(w Witness) *merkle.PathFiller
- type IndexCur
- type PathGen
- type Witness
- type WitnessBase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextPathGen ¶
func ParseIndex ¶
func PartialPath ¶
func PartialPath(w Witness) *merkle.PathFiller
Types ¶
type IndexCur ¶
func NewIndexCur ¶
type PathGen ¶
type PathGen struct { Root merkle.Leaf Anchor merkle.Leaf Leaf merkle.Leaf Path [merkle.DEPTH]merkle.Leaf Index uint64 }
func NewPathGen ¶
func NewPathGenAndRoots ¶
func (*PathGen) IsComplete ¶
Click to show internal directories.
Click to hide internal directories.