mine

package
v0.0.0-...-96e5f69 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 3 Imported by: 2

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