I have a private testnet set up on my local machine:
geth --rpc --rpcaddr "localhost" --rpcport "8545" --dev --mine --datadir="~/Library/Ethereum_dev" --rpccorsdomain="http://localhost" console 2>>geth.log
It's working great.
However, I'm on a MacBook Pro 2010 which is 5.5 years old now. Geth is eating one of my CPUs and I only have two.
I tried to use nice
to suppress CPU usage:
nice -n 19 geth --rpc --rpcaddr "localhost" --rpcport "8545" --dev --mine --datadir="~/Library/Ethereum_dev" --rpccorsdomain="http://localhost" console 2>>geth.log
But I'm still using way too much for my liking. Does anyone have any ideas?