Am I really mining something ? ( Mining operation aborted due to sync operation )

BripsBrips Member Posts: 52
Hello,
I'm wondering if i'm really mining ether, and i can't find information about that.
Here are an example of my logs :

I0519 14:59:34.460077 27148 miner.go:51] Mining operation aborted due to sync operation
I0519 14:59:34.759040 27148 miner.go:91] Starting mining operation (CPU=4 TOT=6)
I0519 14:59:34.762974 27148 worker.go:348] commit new work on block 384635 with 1 txs & 0 uncles
I0519 14:59:34.894684 27148 chain_manager.go:643] imported 2 block(s) (0 queued 0 ignored) in 20.162094ms. #384636 [5373983f / 3d3004f4]
I0519 14:59:34.899795 27148 worker.go:348] commit new work on block 384637 with 1 txs & 0 uncles
I0519 14:59:36.341521 27148 chain_manager.go:643] imported 1 block(s) (0 queued 0 ignored) in 147.804476ms. #384636 [4b4342ce / 4b4342ce]
I0519 14:59:50.147892 27148 miner.go:51] Mining operation aborted due to sync operation
I0519 14:59:50.534058 27148 miner.go:91] Starting mining operation (CPU=4 TOT=6)
I0519 14:59:50.540088 27148 worker.go:348] commit new work on block 384637 with 1 txs & 1 uncles
I0519 14:59:51.273862 27148 chain_manager.go:643] imported 2 block(s) (0 queued 0 ignored) in 18.712888ms. #384638 [11570b9d / 723528df]
I0519 14:59:51.274992 27148 worker.go:348] commit new work on block 384639 with 0 txs & 1 uncles
I0519 14:59:55.673326 27148 chain_manager.go:643] imported 1 block(s) (0 queued 0 ignored) in 18.014918ms. #384639 [65602979 / 65602979]
I0519 14:59:55.687054 27148 worker.go:348] commit new work on block 384640 with 1 txs & 0 uncles
I0519 15:00:15.727945 27148 miner.go:51] Mining operation aborted due to sync operation
I0519 15:00:16.026741 27148 miner.go:91] Starting mining operation (CPU=4 TOT=6)
I0519 15:00:16.042948 27148 worker.go:348] commit new work on block 384640 with 3 txs & 0 uncles
I0519 15:00:16.572603 27148 chain_manager.go:643] imported 2 block(s) (0 queued 0 ignored) in 29.457362ms. #384641 [5d3ac2d9 / 9d3d7904]
I0519 15:00:16.573731 27148 worker.go:348] commit new work on block 384642 with 0 txs & 0 uncles

Why mining is always aborted due to sync operation ?

Best Answer

Answers

  • sjosephsjoseph Member Posts: 30
    I keep getting the same error consistently. Will be great if anyone has any thoughts on it. Tx
  • StephanTualStephanTual London, EnglandMember, Moderator Posts: 1,282 mod
    Network sync I imagine - I get that message when my internet slows down. If you cannot reproduce by pulling the plug on your Ethernet, try to raise on github.com/ethereum/go-ethereum/
  • BripsBrips Member Posts: 52
    Ho Hello Stephan !
    And thx for the talk during Devoxx in Paris ;-)
    I reproduce all the time this bug. I haven't get one block mined, I try go and cpp version. I try to open manually the forward of port 30303 on my internet box.
    My internet connection isn't really bad, i doesn't see problems like ping or download/upload rating.
    Is it perhaps with the CPU version only ?
    Thks !
  • timothyjcoultertimothyjcoulter Member Posts: 14
    I was running geth in a VM, and received this error a lot after updating geth. Restarted the VM fixed it for some reason (I'm not sure why).
  • BripsBrips Member Posts: 52
    After restarting, i've got less of this kind of error, but still here, one by hour...
    24h of letting geth running... and i've mined only 1 block and earn 1,7ether, with a core i3, do you think it's normal ?
  • BripsBrips Member Posts: 52
    Hum no ... more than one by hour ^^

    after a little grep on "aborded" and less :


    I0520 18:08:01.669158 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 18:08:31.384928 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 18:16:21.244502 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 18:18:45.590718 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 18:25:13.386021 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 18:53:11.116511 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 19:04:21.109334 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 19:18:35.648288 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 19:40:11.093706 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 19:54:31.240519 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:02:11.209885 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:11:51.389712 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:13:45.426310 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:14:10.219907 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:16:21.125459 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:21:12.536221 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:22:31.136425 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:28:01.736975 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:30:21.185921 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:48:21.259523 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 20:48:31.282197 12162 miner.go:51] Mining operation aborted due to sync operation
    I0520 21:01:55.311514 12162 miner.go:51] Mining operation aborted due to sync operation
  • BripsBrips Member Posts: 52
    ho ... i didn't want to mark as "answered" :-/
  • StephanTualStephanTual London, EnglandMember, Moderator Posts: 1,282 mod
    @Brips I removed the answer flag for you.
  • BripsBrips Member Posts: 52
    Thanks you Stephan ! :)
  • BripsBrips Member Posts: 52
    the problem was with eth, i'm pass on geth, and it's better thanks tgerring :-)
    I've just dont know how to pass the keys from cpp-ethereum to go-ethereum ^^
  • minerworker2014minerworker2014 Puerto RicoMember Posts: 25
    It has been syncing for days now... Is that normal?
    Any help will be much appreciated.
  • Maren85Maren85 Member Posts: 41
    Why are you mining before you've caught up?

    STOP mining, let the blockchain catch up, then mine.

    The current block is almost 500,000, your on 21,622.
Sign In or Register to comment.