Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes of the pool and releases all resources associated with it.
|
|
GetWorkRpc ( IMiner miner, string comment ) : BitMaker.Miner.Work |
Invokes the 'getwork' JSON method and parses the result into a new T:Work instance.
|
|
SubmitWorkRpc ( IMiner miner, BitMaker.Miner.Work work, string comment ) : bool |
Invokes the 'getwork' JSON method, submitting the proposed work. Returns
|
Method | Description | |
---|---|---|
GetWorkLp ( IMiner miner, string comment ) : BitMaker.Miner.Work |
Initiates a long-poll request for work.
|
|
Open ( |
Opens a web request.
|
|
OpenLp ( IMiner miner, string comment ) : |
Creates a HttpWebRequest for long-polling.
|
|
OpenRpc ( IMiner miner, string comment ) : |
Creates a HttpWebRequest for JSON-RPC.
|
|
ParseGetWork ( |
Parses a WebResponse containing the results of a 'getwork' request.
|
|
Pool ( |
Initializes a new instance.
|
|
RefreshThreadMain ( ) : void |
Entry point for thread responsible for detecting changes in the current block number.
|
public GetWorkRpc ( IMiner miner, string comment ) : BitMaker.Miner.Work | ||
miner | IMiner | |
comment | string | |
return | BitMaker.Miner.Work |
public SubmitWorkRpc ( IMiner miner, BitMaker.Miner.Work work, string comment ) : bool | ||
miner | IMiner | |
work | BitMaker.Miner.Work | |
comment | string | |
return | bool |