miner

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MinerBlock

func MinerBlock(bs *blc.BlockSet, ss *ws.Sockets, data string) *blc.Block

Types

type Miner

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

func NewMiner

func NewMiner(bs *blc.BlockSet, ss *ws.Sockets, minMineInterval time.Duration) *Miner

func (*Miner) Start

func (m *Miner) Start()

Jump to

Keyboard shortcuts

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