Geth miner not working

–1 vote

I have created a private network and created accounts. I have made a transaction and now trying to mine the transaction. But when I try to mine, mining is not happening. It shows null:

> miner.start()
null
Jan 17, 2019 in Blockchain by digger
• 26,740 points
2,511 views

1 answer to this question.

0 votes

Hi. miner.start() gives no output. So, when the output is null, it does not mean that mining is not happening. To check if mining is happening or not, you can read the logs:

$ geth --datadir ./path/to.datadir --networkid <network id> console 2>> Eth.log

And then in new terminal run this

$ tail -f Eth.log
answered Jan 17, 2019 by Omkar
• 69,220 points

Related Questions In Blockchain

0 votes
1 answer

My first Hyperledger fabric network is not working

Delete as admin the channel-artifacts folder, down ...READ MORE

answered Aug 10, 2018 in Blockchain by Johnathon
• 9,090 points
1,960 views
0 votes
1 answer

Function not working from class

Try this code:  // Add new block ...READ MORE

answered Aug 16, 2018 in Blockchain by digger
• 26,740 points
625 views
0 votes
1 answer

OpenSSL i2o_ECPublicKey not working

When your right something in the buffer, ...READ MORE

answered Aug 17, 2018 in Blockchain by digger
• 26,740 points
1,258 views
0 votes
3 answers
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,476 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,923 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,451 views
0 votes
1 answer

Geth 'sendTransaction' not working

When transactions are put in a loop, ...READ MORE

answered Jul 3, 2018 in Blockchain by Omkar
• 69,220 points
1,374 views
–1 vote
1 answer

setEtherbase() not working in geth

setEtherbase() is not a method of the personal ...READ MORE

answered Jan 17, 2019 in Blockchain by Omkar
• 69,220 points
1,602 views
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