Apply suggestions from code review

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
pull/27612/head
Joseph Cook 1 year ago committed by GitHub
parent e014d3551f
commit 5cc042aa24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/fundamentals/command-line-options.md
  2. 4
      docs/interacting-with-geth/rpc/ns-miner.md

@ -434,7 +434,6 @@ GLOBAL OPTIONS:
--miner.newpayload-timeout value (default: 2s) --miner.newpayload-timeout value (default: 2s)
Specify the maximum time allowance for creating a new payload Specify the maximum time allowance for creating a new payload
--miner.notify.full (default: false)
Notify with pending block headers instead of work packages Notify with pending block headers instead of work packages
--miner.recommit value (default: 2s) --miner.recommit value (default: 2s)

@ -45,11 +45,11 @@ Updates the interval for recomitting the miner sealing work.
## miner_start {#miner-start} ## 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 | | Client | Method invocation |
| :------ | ----------------------------------------- | | :------ | ----------------------------------------- |
| Go | `miner.Start() (bool, error)` | | Go | `miner.Start() error` |
| Console | `miner.start()` | | Console | `miner.start()` |
| RPC | `{"method": "miner_start", "params": []}` | | RPC | `{"method": "miner_start", "params": []}` |

Loading…
Cancel
Save