package
0.0.0-20240806012525-31387fc58976
Repository: https://github.com/scdoproject/go-scdo.git
Documentation: pkg.go.dev

# Functions

NewMiner constructs and returns a miner instance.
NewTask return Task object.
PrintableOutputTask returns the printable format of task.
PrintableOutputTask returns the printable format of the task header.

# Variables

ErrMinerIsRunning is returned when miner is running.
ErrMinerIsStopped is returned when miner is stopped.
ErrNodeIsSyncing is returned when the node is syncing.

# Structs

Miner defines base elements of miner.
Result is the result mined by engine.
Task is a mining work for engine, containing block header, transactions, and transaction receipts.

# Interfaces

ScdoBackend wraps all methods required for miner.