From a1141cab39581753248101aadc8838d4ac364988 Mon Sep 17 00:00:00 2001 From: Blade Doyle Date: Mon, 3 Sep 2018 18:15:18 +0000 Subject: [PATCH] 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. --- doc/stratum.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/stratum.md b/doc/stratum.md index 450e97c7b..ee17da5f0 100644 --- a/doc/stratum.md +++ b/doc/stratum.md @@ -145,6 +145,7 @@ Example: A message initiated by the Stratum server. 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 @@ -553,4 +554,4 @@ Miners SHOULD, MAY or MUST respect the following rules: ## Reference Implementation -The current reference implementation is available at [mimblewimble/grin-miner](https://github.com/mimblewimble/grin-miner/blob/master/src/bin/client.rs). \ No newline at end of file +The current reference implementation is available at [mimblewimble/grin-miner](https://github.com/mimblewimble/grin-miner/blob/master/src/bin/client.rs).