Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

implement miner_setExtra API method #569

Merged
merged 2 commits into from Apr 18, 2018
Merged

implement miner_setExtra API method #569

merged 2 commits into from Apr 18, 2018

Conversation

whilei
Copy link
Contributor

@whilei whilei commented Apr 18, 2018

problem

Documented miner_setExtra method is missing.

https://github.com/ethereumproject/go-ethereum/wiki/JavaScript-Console#minersetextra

solution

Add method to *PrivateMinerAPI. Like other private miner methods, the setExtra function returns a boolean; true if value is successfully set, otherwise false.

example

> miner.setExtra("0xdeadbeef");
true

@whilei whilei requested review from tzdybal and r8d8 April 18, 2018 21:28
Copy link
Contributor

@tzdybal tzdybal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@whilei whilei merged commit 4621800 into master Apr 18, 2018
@whilei whilei deleted the feax/miner-set-extra branch May 1, 2018 23:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants