mine

package
v0.0.0-...-10b9c98 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MineBlock

func MineBlock(bk *block.BlockType, difficulty string)

MineBlock implements a proof of work mining system where the first 4 digits (2 bytes) of the hex value are 0. Difficulty can be increaesed by requiring more digits to be 0 or by requring some other pattern to apear in the resulting hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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