Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiCommitteeMember ¶
type Consensus ¶
type Consensus interface {
Committee() []*consensus.ApiCommitteeMember
}
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) PeersStats ¶
type PeerStats ¶
type PeerStats struct { Name string `json:"name"` BestBlockID meter.Bytes32 `json:"bestBlockID"` TotalScore uint64 `json:"totalScore"` PeerID string `json:"peerID"` NetAddr string `json:"netAddr"` Inbound bool `json:"inbound"` Duration uint64 `json:"duration"` }
func ConvertPeersStats ¶
Click to show internal directories.
Click to hide internal directories.