Skip to content

cmd/geth: user friendly light miner error#15863

Merged
karalabe merged 1 commit into
ethereum:masterfrom
karalabe:light-miner-error
Jan 12, 2018
Merged

cmd/geth: user friendly light miner error#15863
karalabe merged 1 commit into
ethereum:masterfrom
karalabe:light-miner-error

Conversation

@karalabe
Copy link
Copy Markdown
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