mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
update the doc when starting a Signer. Etherbase also need to be provided to start the signer
This commit is contained in:
parent
b98a0fcef0
commit
bfc7918c32
1 changed files with 2 additions and 2 deletions
|
|
@ -203,10 +203,10 @@ geth attach data2/geth.ipc --exec admin.peers
|
||||||
|
|
||||||
### Running A Signer (Clique) {#running-a-signer}
|
### 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
|
```sh
|
||||||
geth <other-flags> --unlock 0x7df9a875a174b3bc565e6424a0050ebc1b2d1d82 --mine
|
geth <other-flags> --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`).
|
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`).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue