From 5cc042aa2417e5cdee51aed7df6f4488c1b63f61 Mon Sep 17 00:00:00 2001 From: Joseph Cook <33655003+jmcook1186@users.noreply.github.com> Date: Thu, 29 Jun 2023 15:20:10 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com> --- docs/fundamentals/command-line-options.md | 1 - docs/interacting-with-geth/rpc/ns-miner.md | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/fundamentals/command-line-options.md b/docs/fundamentals/command-line-options.md index a44ee634af..f0d3277f72 100644 --- a/docs/fundamentals/command-line-options.md +++ b/docs/fundamentals/command-line-options.md @@ -434,7 +434,6 @@ GLOBAL OPTIONS: --miner.newpayload-timeout value (default: 2s) Specify the maximum time allowance for creating a new payload - --miner.notify.full (default: false) Notify with pending block headers instead of work packages --miner.recommit value (default: 2s) diff --git a/docs/interacting-with-geth/rpc/ns-miner.md b/docs/interacting-with-geth/rpc/ns-miner.md index f8ef334356..274bfb1193 100644 --- a/docs/interacting-with-geth/rpc/ns-miner.md +++ b/docs/interacting-with-geth/rpc/ns-miner.md @@ -45,11 +45,11 @@ Updates the interval for recomitting the miner sealing work. ## miner_start {#miner-start} -Start the CPU mining process and generate a new DAG if need be. +Start the CPU mining process. | Client | Method invocation | | :------ | ----------------------------------------- | -| Go | `miner.Start() (bool, error)` | +| Go | `miner.Start() error` | | Console | `miner.start()` | | RPC | `{"method": "miner_start", "params": []}` |