Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { Hash common.Hash // Node hash, empty for deleted node Blob []byte // Encoded node blob, nil for the deleted node }
Node is a wrapper which contains the encoded blob of the trie node and its unique hash identifier. It is general enough that can be used to represent trie nodes corresponding to different trie implementations.
type WithPrev ¶
WithPrev wraps the Node with the previous node value attached.
func NewWithPrev ¶
NewWithPrev constructs a node with provided node information.
Click to show internal directories.
Click to hide internal directories.