Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHighestContiguousHistoryFromHistorySegments ¶
func GetHighestContiguousHistoryFromHistorySegments(histories []*v2.HistorySegment) []aggregation.AggregatedHistorySegment
Types ¶
type Cmd ¶
type Cmd struct { // Subcommands Show showCmd `command:"show" description:"shows decentralised history segments currently stored by the node"` Load loadCmd `command:"load" description:"loads the most recent contiguous history from decentralised history into the datanode"` Fetch fetchCmd `` /* 160-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"` }
Click to show internal directories.
Click to hide internal directories.