Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoundRobin ¶
type RoundRobin struct {
// contains filtered or unexported fields
}
RoundRobin robin leader selection will always return the same leader
func New ¶
func New(share *beaconprotocol.Share, state *qbftprotocol.State) *RoundRobin
New returns a new RoundRobin instance.
func (*RoundRobin) Calculate ¶
func (rr *RoundRobin) Calculate(round uint64) uint64
Calculate returns the current leader
Click to show internal directories.
Click to hide internal directories.