> startMining(10)
Error: exceeds block gas limit
at web3.js:3143:20
at web3.js:6347:15
at web3.js:5081:36
at startMining (:3:1)
at :1:1
OK guys I finally got the function to run...however I got the above error. Another poster had commented that he got the same error and someone suggested that he try 2 gwei and send 0 eth.
Well i set it to 2 gwei, but where or how do I set the send 0 eth. If it is not in the script isnt it already sending 0 eth?
This can be because you are not synced with the network as the gas limit of the old blocks was lower than the current ones.
Suggest you to sync up with the network, to sync you just need to leave geth running (you may need up to 30 GB free space in your PC, normally in 1 night it should get synced).
To check if you are synced with the network you can run the command eth.blockNumber (run it on the geth attach windows), the result should be the current ETH block (you can check the latest block number here:
https://etherscan.io/)
If the problem continues after this let us know