Skip to content

cmd/utils, eth: init etherbase from within eth#15528

Merged
fjl merged 1 commit into
ethereum:masterfrom
karalabe:etherbase-cleanup
Dec 9, 2017
Merged

cmd/utils, eth: init etherbase from within eth#15528
fjl merged 1 commit into
ethereum:masterfrom
karalabe:etherbase-cleanup

Conversation

@karalabe
Copy link
Copy Markdown
Member

The etherbase account was previously configured as eth.accounts[0] from both within eth as well as from the outside in cmd/flags. There's no need for the flags package to start poking around in the keystore, let eth do its job.

Long term we'd like to get rid of --etherbase=index and --unlock=index altogether, though that will probably take a bit of time with warning users about it, so let's just add a deprecation warning for now and drop support in a few versions down the line only. This is needed to fully remove the flags package's access to the keystore.

@karalabe karalabe added this to the 1.8.0 milestone Nov 20, 2017
@fjl fjl merged commit 46e5583 into ethereum:master Dec 9, 2017
mariameda pushed a commit to NiluPlatform/go-nilu that referenced this pull request Aug 23, 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.

2 participants