Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHighestContiguousHistoryFromHistorySegments ¶
func GetHighestContiguousHistoryFromHistorySegments(histories []*v2.HistorySegment) []aggregation.AggregatedHistorySegment
func NetworkHistory ¶
Types ¶
type Cmd ¶
type Cmd struct { // Subcommands Show showCmd `command:"show" description:"shows network history segments currently stored by the node"` Load loadCmd `command:"load" description:"loads the most recent contiguous network history stored by the node into the datanode"` Fetch fetchCmd `` /* 178-byte string literal not displayed */ LatestHistorySegmentFromPeers latestHistorySegment `` /* 134-byte string literal not displayed */ ListActivePeers listActivePeers `command:"list-active-peers" description:"list the active datanode peers"` Copy copyCmd `command:"copy" description:"copy a history segment from network history to a file"` }
Click to show internal directories.
Click to hide internal directories.