Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrInvalidValue = errors.New("invalid value") ErrUnexistingKey = errors.New("unexisting key") )
View Source
var EmptyNode = &leafNode{&felt.Felt{}}
Functions ¶
This section is empty.
Types ¶
type BinaryNode ¶
type BinaryNode struct {
LeftH *felt.Felt
RightH *felt.Felt
// contains filtered or unexported fields
}
func (*BinaryNode) Bottom ¶
func (n *BinaryNode) Bottom() *felt.Felt
func (*BinaryNode) Hash ¶
func (n *BinaryNode) Hash() *felt.Felt
func (*BinaryNode) Path ¶
func (n *BinaryNode) Path() *collections.BitSet
type EdgeNode ¶
type EdgeNode struct {
// contains filtered or unexported fields
}
func NewEdgeNode ¶
func NewEdgeNode(path *collections.BitSet, bottom *felt.Felt) *EdgeNode
func (*EdgeNode) Path ¶
func (n *EdgeNode) Path() *collections.BitSet
type Trie ¶
type TrieManager ¶
Click to show internal directories.
Click to hide internal directories.