Documentation ¶ Index ¶ func MineBlock(bk *block.BlockType, difficulty string) 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. Source Files ¶ View all Source files mine.go Click to show internal directories. Click to hide internal directories.