Documentation ¶
Index ¶
- Constants
- func NextDepth(t Tree, skip uint) (ret uint)
- func Size(t Tree) (ret uint)
- type Leaf
- type Parent
- type PathFiller
- type Tree
- func (t *Tree) Append(l Leaf)
- func (t *Tree) Clone() (ret Tree)
- func (t *Tree) IsComplete() bool
- func (tree *Tree) Root() Leaf
- func (tree *Tree) RootKey() (ret keys.Uint256)
- func (t *Tree) TempIsComplete(depth uint) bool
- func (tree *Tree) TempRoot(partial *PathFiller, depth uint) Leaf
- func (t Tree) ToRef() *Tree
Constants ¶
View Source
const (
DEPTH = cpt.DEPTH
)
====================
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Leaf ¶
func EmptyRoots ¶
func EmptyRoots() []Leaf
type PathFiller ¶
func NewPathFilter ¶
func NewPathFilter(leafs []Leaf) *PathFiller
func (*PathFiller) Next ¶
func (pf *PathFiller) Next(depth uint) Leaf
func (*PathFiller) Push ¶
func (pf *PathFiller) Push(leaf Leaf)
Click to show internal directories.
Click to hide internal directories.