How do I start mining on my private chain

0 votes

I'm not able to mine on my private chain via geth console, get stuck in the following step: 

 > miner.start()
    INFO [01-05|11:11:22] Updated mining threads                    threads=0
    INFO [01-05|11:11:22] Transaction pool price threshold updated price=18000000000 null
    > INFO [01-05|11:11:22] Starting mining operation 
    INFO [01-05|11:11:22] Commit new mining work                   number=1 txs=0 uncles=0 elapsed=482.122µs

genesis.json I used is:

{
    "config": {
    "chainId": 201804,
    "homesteadBlock": 0,
    "eip155Block": 0,
    "eip158Block": 0
},
"timestamp": "0x0",
"gasLimit": "0x888888888000000",
"difficulty": "0x400",
"coinbase": "0x9933333333333333333333333333333333333333",
"alloc": {}
}

Create Command:

 geth --datadir "node1/" init genesis.json`.  

Start Node Command:

geth --identity "node1" --rpc --rpcport 8101 --rpccorsdomain "*" --datadir "./node1" --port 31001 --rpcapi "db,eth,net,web3" --networkid 201804 console

Could any one help on this?

Jul 13, 2018 in Blockchain by sabby
• 4,390 points
1,706 views

1 answer to this question.

0 votes

You could try deleting the datadir/.etash and start the miner again, or upgrade your cloud server resources.

Look here: https://github.com/ethereum/go-ethereum/issues/2174

answered Jul 13, 2018 by Christine
• 15,790 points

Related Questions In Blockchain

0 votes
1 answer

How do I develop a supply chain DApp on Blockchain?

Either of the ways is acceptable but ...READ MORE

answered May 30, 2018 in Blockchain by Perry
• 17,100 points
1,481 views
0 votes
2 answers

How do I interact with a smart contract on a private network through web3.js

I found a blog that explains how ...READ MORE

answered Aug 20, 2018 in Blockchain by slayer
• 29,370 points
3,936 views
+1 vote
1 answer

How can I initiate a transaction on ethereum private network using mobile device?

There is no android wallet to connect ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,400 points
886 views
0 votes
1 answer

How can I deploy a HelloWorld contract on my testrpc network?

The problem lies in the command: truffle migrate Your truffle migrate command ...READ MORE

answered Apr 27, 2018 in Blockchain by Perry
• 17,100 points

edited Aug 10, 2018 by Omkar 2,809 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,900 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,423 views
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6, 2019 in Blockchain by saeedi
• 120 points

edited Mar 6, 2019 by Omkar 2,437 views
+3 votes
4 answers

How do I add a new node on a Hyperledger network?

You can do this by generating the crypto ...READ MORE

answered Apr 7, 2018 in Blockchain by Christine
• 15,790 points
5,631 views
+1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP