I am trying to run a test Ethereum blockchain and I was following this tutorial How to create local multi-node private Ethereum network. At around 25 minutes, the tutor shows how to mine. Till now, I have exactly followed his steps and have successfully replicated them on my system. However, at this stage, when I run the command miner.start(1)
, it returns null
instead of true
.
Even on running eth.mining
command, it shows false
, indicating mining has not started yet. Neither is any DAG being created. I posed this same question to the tutor on his channel, but there doesn't seem to be any solution.
I am running geth CLI on a Ubuntu 16.04 VM allocating a 1 core CPU with RAM of 1 GB. I am not using the Mist Wallet to track ether or accounts. The JS console seems powerful enough for that. Is mining not taking place because of running of the instance on VM? Kindly help me out ASAP.
This is the genesis.json file content, just for reference.
{ "config": {
"chainId": 0, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 },
"nonce": "0x0000000000000042",
"timestamp": "0x00",
"parentHash": "0x000000000000000000000000000000000000000000000000000000000000$
"extraData": "0x00",
"gasLimit": "0x08000000",
"difficulty": "0x0400",
"mixhash": "0x000000000000000000000000000000000000000000000000000000000000000$
"coinbase": "0x3333333333333333333333333333333333333333",
"alloc" : {
}
}
Edit 1: Added JSON file content.
Edit 2 : Added RAM allocation in VM