Record ideal miner behavior based on job_id value (#1461)

We have a very low default value for "attempt_time_per_block", which exposed an issue with the miner.  This change documents the correct / ideal behavior.
This commit is contained in:
Blade Doyle 2018-09-03 18:15:18 +00:00 committed by Yeastplume
parent b06b112afb
commit a1141cab39

View file

@ -145,6 +145,7 @@ Example:
A message initiated by the Stratum server. A message initiated by the Stratum server.
Stratum server will send job automatically to connected miners. Stratum server will send job automatically to connected miners.
The miner SHOULD interrupt current job if job_id = 0, and SHOULD replace the current job with this one after the current graph is complete.
#### Request #### Request
@ -553,4 +554,4 @@ Miners SHOULD, MAY or MUST respect the following rules:
## Reference Implementation <a name="referenceimplementation"></a> ## Reference Implementation <a name="referenceimplementation"></a>
The current reference implementation is available at [mimblewimble/grin-miner](https://github.com/mimblewimble/grin-miner/blob/master/src/bin/client.rs). The current reference implementation is available at [mimblewimble/grin-miner](https://github.com/mimblewimble/grin-miner/blob/master/src/bin/client.rs).