miner

package
v0.0.0-...-820de1c Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Package miner implements the worker which adds valid transactions to a block and finally to the blockchain.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Now can be overriden by tests
	Now = time.Now
)

Functions

func Start

func Start(errorReport chan<- error)

Start mining. Collect pending transactions that are valid and add them to a new mined Block.

Types

This section is empty.

Jump to

Keyboard shortcuts

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