mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
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:
parent
b06b112afb
commit
a1141cab39
1 changed files with 2 additions and 1 deletions
|
@ -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).
|
||||||
|
|
Loading…
Reference in a new issue