Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster represents a cluster of block producers.
func NewCluster ¶
NewCluster returns a new bp.Cluster.
func (*Cluster) BpID2Index ¶
BpID2Index returns the index corresponding to id.
func (*Cluster) BpIndex2ID ¶
BpIndex2ID returns the ID correspinding to idx.
Click to show internal directories.
Click to hide internal directories.