sr2

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinerSelector

type MinerSelector struct {
	// contains filtered or unexported fields
}

MinerSelector chooses miner under SR2 strategy.

func New

New returns a new SR2 miner selector.

func (*MinerSelector) GetMiners

func (ms *MinerSelector) GetMiners(n int, f ffs.MinerSelectorFilter) ([]ffs.MinerProposal, error)

GetMiners returns miners from SR2.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL