package
1.9.6
Repository: https://github.com/decred/dcrd.git
Documentation: pkg.go.dev

# README

cpuminer

Build Status ISC License Doc

Package cpuminer provides facilities for solving blocks (mining) using the CPU.

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.

License

Package cpuminer is licensed under the copyfree ISC License.

# Functions

New returns a new instance of a CPU miner for the provided configuration options.
UseLogger uses a specified Logger to output package logging info.

# Variables

MaxNumWorkers is the maximum number of workers that will be allowed for mining and is based on the number of processor cores.

# 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.