Method | Description | |
---|---|---|
Search ( Work work, uint round1State, byte round1Block2, uint round2State, byte round2Block1 ) : uint? |
Searches a set of broken apart work for a nonce solution, and returns it. If no solution is found, returns
|
|
Start ( ) : void |
Starts a single thread to pull and process work.
|
|
Stop ( ) : void |
Stops the miner from running.
|
Method | Description | |
---|---|---|
CpuMiner ( IMinerContext context, CpuDevice cpu ) : System |
Initializes a new instance.
|
Method | Description | |
---|---|---|
PrepareWork ( Work work, byte &round1Blocks, uint &round1State, byte &round2Blocks, uint &round2State ) : void |
Prepares the buffers for processing a work item.
|
|
Work ( Work work ) : void |
Attempts to solve the given work with the specified solver.
|
|
WorkThread ( ) : void |
Entry point for a standard work thread.
|
protected CpuMiner ( IMinerContext context, CpuDevice cpu ) : System | ||
context | IMinerContext | |
cpu | CpuDevice | |
return | System |
public abstract Search ( Work work, uint round1State, byte round1Block2, uint round2State, byte round2Block1 ) : uint? | ||
work | Work | |
round1State | uint | |
round1Block2 | byte | |
round2State | uint | |
round2Block1 | byte | |
return | uint? |