I am running a local testnet with a low mining difficulty to test my contracts, and I am conscious that when I start another mining geth instance the total computation will hog my CPU.
My question is - is there a way of making the geth miner sleep for a specified period of time before mining the next block?
I could just have one node mining transactions, but I would like to emulate the real network more closely.
I am sure there are other solutions to testnet mining that I am not aware of, and they are also welcomed.
I find in a heavy testing setup with mining every second that my laptop fan comes on though. But it beats waiting for forever to test 60 function points (aka transactions)
I like the idea of not consuming CPU when there's nothing to do, thanks for the question
– Paul S Mar 08 '16 at 21:57