package
0.23.5
Repository: https://github.com/bitweb-project/bted.git
Documentation: pkg.go.dev

# README

cpuminer

Build Status ISC License GoDoc

Overview

This package is currently a work in progress. It works without issue since it is used in several of the integration tests, but the API is not really ready for public consumption as it has simply been refactored out of the main codebase for now.

Installation and Updating

$ go get -u github.com/bitweb-project/bted/mining/cpuminer

License

Package cpuminer is licensed under the copyfree ISC License.

# Functions

DisableLog disables all library log output.
New returns a new instance of a CPU miner for the provided configuration.
UseLogger uses a specified Logger to output package logging info.

# Structs

Config is a descriptor containing the cpu miner configuration.
CPUMiner provides facilities for solving blocks (mining) using the CPU in a concurrency-safe manner.