We have setup a private blockchain platform using Ethereum and we are using Java based UI layer for it. Can we stop mining process as it is taking lots of time and making the transactions slow?
1 Answer
Yes, you can stop the mining process. If you stop mining no new blocks will be generated. From the geth console you can execute:
> miner.stop()
Check the documentation for details miner.stop()
.
In a private blockchain you can control how many thread are used for mining with
miner.start()
. For example to only use 1 thread from the geth console type:
> miner.start(1)