Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iris (v1.12.11) Fatal: Failed to start mining: ether base missing: ether base must be explicitly specified #543

Closed
Iftikhar3Mustafa opened this issue May 17, 2023 · 3 comments

Comments

@Iftikhar3Mustafa
Copy link

Iftikhar3Mustafa commented May 17, 2023

Hi there,

Please note that this is an issue tracker reserved for bug reports and feature requests.

System information
Geth version: geth version Iris (v1.12.11)
OS & Version: 18.04
Go to version 1.10.4 ubuntu/amd64
Make version 4.1

Run the signer node by Geth:

This error occurred:

INFO [05-17|06:02:14.481] Transaction pool price threshold updated price=0
INFO [05-17|06:02:14.481] Updated mining threads threads=0
INFO [05-17|06:02:14.481] Transaction pool price threshold updated price=1,000,000,000
ERROR[05-17|06:02:14.481] Cannot start mining without ether base err="ether base must be explicitly specified"
Fatal: Failed to start mining: ether base missing: ether base must be explicitly specified

Please help me Thank you

The previous release Kronos (v1.12.10) is working fine on my AWS machine But this new one got an error mentioned above

@meowsbits
Copy link
Member

The "etherbase" is the account that should be credited with block rewards and gas fees when you win a block.
Geth's behavior has indeed changed in the last release; you now need to use the CLI option to configure it (whereas in earlier versions, the first account in the keystore was selected by default).

./build/bin/geth --help|grep -A5 -B5 etherbase
   MINER
   
    --mine                         (default: false)
          Enable mining
   
    --miner.etherbase value       
          0x prefixed public address for block mining rewards
   
    --miner.extradata value       
          Block extra data set by the miner (default = client version)

PS. ⚠️ The command you're using there seems to be high risk.

@meowsbits
Copy link
Member

meowsbits commented May 17, 2023

Yes, that should work for you. But again, please be aware that using --unlock --http --http.api "...personal" --mine will allow anyone with access to those HTTP ports to withdraw the funds you may earn by mining.

@Iftikhar3Mustafa
Copy link
Author

Sure Sir Acknowledged Thank you
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants