C# Class BitMaker.Miner.Managed.ManagedMiner

Completely managed C# implementation of a miner.
Inheritance: BitMaker.Miner.Cpu.CpuMiner
Show file Open project: wasabii/BitMaker Class Usage Examples

Public Methods

Method Description
ManagedMiner ( IMinerContext context, CpuDevice cpu ) : System.Threading

Initializes a new instance.

Search ( Work work, uint round1State, byte round1Block2, uint round2State, byte round2Block1 ) : uint?

Implements the search function in managed code.

Private Methods

Method Description
Progress ( Work work, long hashes ) : bool

Reports progress and determines if work is still valid.

Method Details

ManagedMiner() public method

Initializes a new instance.
public ManagedMiner ( IMinerContext context, CpuDevice cpu ) : System.Threading
context IMinerContext
cpu CpuDevice
return System.Threading

Search() public method

Implements the search function in managed code.
public Search ( Work work, uint round1State, byte round1Block2, uint round2State, byte round2Block1 ) : uint?
work Work
round1State uint
round1Block2 byte
round2State uint
round2Block1 byte
return uint?