I wanted to transfer 5 etheres from my coinbase address to my another account. My coinbase balance is:

    > eth.getBalance(eth.coinbase)

So I transferred it and sendTransaction gave txhash also

     > personal.unlockAccount(eth.coinbase, "jevel")
 > eth.sendTransaction({from:eth.coinbase, 
to:"0xe773d39957869a5edf76285fadb78e49875f273e", value:web3.toWei(5, 
"ether"), gas:21000})
INFO [09-24|10:38:50.553] Submitted transaction                    

but when I checked it, it was showing null:


After that I mined my transaction :

  INFO [09-24|11:09:13.298] Generating DAG in progress               
 epoch=0 percentage=98 elapsed=3m48.012s
INFO [09-24|11:09:15.562] Generating DAG in progress               epoch=0 
percentage=99 elapsed=3m50.277s
INFO [09-24|11:09:15.564] Generated ethash verification cache      epoch=0 
INFO [09-24|11:09:28.690] Generating DAG in progress               epoch=1 
percentage=0  elapsed=10.568s
INFO [09-24|11:09:39.675] Generating DAG in progress               epoch=1 
percentage=1  elapsed=21.553s
INFO [09-24|11:09:50.649] Generating DAG in progress               epoch=1 
percentage=2  elapsed=32.527s
INFO [09-24|11:10:01.199] Generating DAG in progress               epoch=1 
percentage=3  elapsed=43.077s
INFO [09-24|11:10:13.226] Generating DAG in progress               epoch=1 
percentage=4  elapsed=55.104s
> miner.stop()

Then I checked the number of blocks mined:

    > eth.blockNumber

It is showing 0.

My private network have zero peers. Is that the problem???

  • It seems to be a bug, unless you are doing something wrong. Have a read here Alternatively, the transaction never gets mined. Please try to increase the gas limit by noticeable amount – Iulian Sep 24 '18 at 11:14
  • did you mine it? what's txpool showing? – Nulik Sep 24 '18 at 16:01
  • yes I mine also.@Nukil – crypto S. Sep 25 '18 at 5:16
  • @cryptoS. You didn't mine a block yet. Make sure the difficulty on your private testnet is not too high. – Ismael Sep 26 '18 at 20:57

It took time for mining to start, initially, it was generating DAG but eventually successful to transfer ether.

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.