I have setup a private blockchain in AWS micro instance using go-ethereum. In that when I start the mining process it was taking nearly 2-3 hours to mine a new block.Whereas on my local machine it was taking 30 mins initially to start after that it took 1 sec to mine a new block. In Genesis block, I had assign difficulty as 0x400.

    "config": {
        "chainId": 15,
        "homesteadBlock": 0,
        "eip155Block": 0,
        "eip158Block": 0
    "nonce": "0x0000000000000042",
    "difficulty": "0x400",
    "gasLimit": "2100000",
    "alloc": {
        "0xc490758cadb047809fa59df82a2057e6407784ab": { "balance": "100000000000000000000000000" },
        "0xa4f6f95b6cb36025dd09c9f5fe068e401951e963": { "balance": "10000000000000000000" }
  • I think you are having problems with the dag generation, don't you? – Florian Castelain Feb 15 '18 at 9:43
  • For private blockchain you can use PoA then the block time can reduce to seconds. – Ha ĐANG Sep 6 '18 at 9:30

Please use t2 medium instances of AWS. Preferrably 2 instances. connect the 2 nodes by addPeer, Start mining in one instance. connect nethereum on the other and transactions would take 4-5 seconds.

  • 2
    Can you explain why? – Grzegorz Feb 15 '18 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.