state

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: ISC Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coordinator

type Coordinator struct {
	utils.StoppableMixin
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, conf *settings.Configuration) (handler *Coordinator)

func (*Coordinator) NextTask

func (h *Coordinator) NextTask() *tasks.MinerTask

func (*Coordinator) RunUsing

func (h *Coordinator) RunUsing(
	shardsBlockCandidates <-chan events.ShardBlockCandidate,
	beaconBlockCandidates <-chan events.BeaconBlockCandidate,
	bitcoinBlockCandidates <-chan events.BitcoinBlockCandidate)

Jump to

Keyboard shortcuts

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