Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDoesNotExists = stderr.New("node does not exists")
View Source
var ErrIncorrectHash = stderr.New("node hash is not correct")
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { Hash merkletree.Hash Children []merkletree.Hash }
func (Node) MarshalJSON ¶
func (*Node) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.