Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deltas ¶
type Deltas struct {
// contains filtered or unexported fields
}
Deltas tracks the trie deltas, for example deleted node hashes.
func (*Deltas) Deleted ¶
Deleted returns a set (map) of all the recorded deleted node hashes. Note the map returned is not deep copied for performance reasons and so it's not safe for mutation.
func (*Deltas) MergeWith ¶
MergeWith merges the deltas given as argument in the receiving deltas struct.
func (*Deltas) RecordDeleted ¶
RecordDeleted records a node hash as deleted.
Click to show internal directories.
Click to hide internal directories.