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

cmd/geth: user friendly light miner error #15863

Merged
merged 1 commit into from
Jan 12, 2018

Conversation

karalabe
Copy link
Member

Fixes #15860.

When starting the miner in light client mode, it currently fails with:

$ geth --light --mine
[...]
Fatal: ethereum service not running: unknown service

This doesn't really help users understand what the problem is, so this PR expands on the error by explicitly stating that light clients cannot mine:

$ geth --light --mine
[...]
Fatal: Light clients do not support mining

@karalabe karalabe added this to the 1.8.0 milestone Jan 12, 2018
@karalabe karalabe merged commit 3f40b22 into ethereum:master Jan 12, 2018
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

Successfully merging this pull request may close these issues.

1 participant