From bfc7918c328cd2ceaa54df89bafc27566a56e271 Mon Sep 17 00:00:00 2001 From: arnaud Date: Tue, 19 Mar 2024 13:59:15 +0100 Subject: [PATCH] update the doc when starting a Signer. Etherbase also need to be provided to start the signer --- docs/fundamentals/private-network.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fundamentals/private-network.md b/docs/fundamentals/private-network.md index 085d7f167d..2312d8785c 100644 --- a/docs/fundamentals/private-network.md +++ b/docs/fundamentals/private-network.md @@ -203,10 +203,10 @@ geth attach data2/geth.ipc --exec admin.peers ### Running A Signer (Clique) {#running-a-signer} -To set up Geth for signing blocks in Clique, a signer account must be available. The account must already be available as a keyfile in the keystore. To use it for signing blocks, it must be unlocked. The following command, for address `0x7df9a875a174b3bc565e6424a0050ebc1b2d1d82` will prompt for the account password, then start signing blocks: +To set up Geth for signing blocks in Clique, a signer account must be available. The account must already be available as a keyfile in the keystore. To use it for signing blocks, it must be unlocked. Once unlocked, you also need to provide specify this address as the etherbase. The following command, for address `0x7df9a875a174b3bc565e6424a0050ebc1b2d1d82` will prompt for the account password, then start signing blocks: ```sh -geth --unlock 0x7df9a875a174b3bc565e6424a0050ebc1b2d1d82 --mine +geth --unlock 0x7df9a875a174b3bc565e6424a0050ebc1b2d1d82 --mine --miner.etherbase 0x7df9a875a174b3bc565e6424a0050ebc1b2d1d82 ``` Mining can be further configured by changing the default gas limit blocks converge to (with `--miner.gastarget`) and the price transactions are accepted at (with `--miner.gasprice`).