miner

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleMiner

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

SimpleMiner represents a very simple miner implementation A few real implementation: - https://github.com/amir20/sha-miner - https://github.com/btcsuite/btcd/tree/master/mining/cpuminer

func New

New creates a simple miner

func (*SimpleMiner) Run

func (m *SimpleMiner) Run(ctx context.Context, foundBlock chan block.Block)

Run starts listening mempool and mining

Jump to

Keyboard shortcuts

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