Created
August 14, 2015 06:38
-
-
Save TOMOAKI12345/eecdf882ac59baa2e62e to your computer and use it in GitHub Desktop.
geth 1.x mining start and stop for private chain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function miness(){ | |
| miner.start() | |
| setTimeout(mineStop, 15000); | |
| function mineStop(){ | |
| miner.stop() | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment