Author Topic: huntercoin stopped working on both machines  (Read 10279 times)

Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
huntercoin stopped working on both machines
« on: January 29, 2015, 07:59:34 PM »
suddently both of my pc stopped working with the error: displayed transactions may not be correct you may need to upgrade or other nodes may need to upgrade

what's going on?? i think i've the last daemon on both pc

hint:
since i showed billybob you to generate transaction with the new RETURN_OP thing, the time seems to coincide with the start of problems and i fear i'm not the only one having this problems, does miners updated with the right version? it seems like if this is a serious problem tho
« Last Edit: January 29, 2015, 08:05:20 PM by Mithril Man »
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC

Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
Re: huntercoin stopped working on both machines
« Reply #1 on: January 29, 2015, 08:10:13 PM »
more details from log:

received block 7a8a32a0861d6783c4a0
REORGANIZE
Reorganize():
  Old: CBlockIndex(nprev=22d19088, pnext=00000000, nFile=5, nBlockPos=834521779 nHeight=546484, merkle=76bba4019e, hashBlock=4afc18d5df36a458318c)
  New: CBlockIndex(nprev=259eb328, pnext=00000000, nFile=5, nBlockPos=834524876 nHeight=546453, merkle=fed00c6333, hashBlock=7a8a32a0861d6783c4a0)
  Common: CBlockIndex(nprev=259eb218, pnext=25d614f8, nFile=5, nBlockPos=834419566 nHeight=546452, merkle=9d990441ae, hashBlock=3fc332637db306043ee3)
ERROR: Trying to remove non-existant UTXO entry.
ERROR: DisconnectInputs: Failed to RemoveUtxo
ERROR: Reorganize() : DisconnectBlock failed
InvalidChainFound: invalid block=7a8a32a0861d6783c4a0  height=546453  work=743379684939772172267533
InvalidChainFound:  current best=4afc18d5df36a458318c  height=546484  work=743374621162609495215019
InvalidChainFound: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.
ERROR: SetBestChain() : Reorganize failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block d2aec435dab171ad51a6
REORGANIZE
Reorganize():
  Old: CBlockIndex(nprev=22d19088, pnext=00000000, nFile=5, nBlockPos=834521779 nHeight=546484, merkle=76bba4019e, hashBlock=4afc18d5df36a458318c)
  New: CBlockIndex(nprev=22d19330, pnext=00000000, nFile=5, nBlockPos=834529005 nHeight=546454, merkle=8ca88eb994, hashBlock=d2aec435dab171ad51a6)
  Common: CBlockIndex(nprev=259eb218, pnext=25d614f8, nFile=5, nBlockPos=834419566 nHeight=546452, merkle=9d990441ae, hashBlock=3fc332637db306043ee3)
ERROR: Trying to remove non-existant UTXO entry.
ERROR: DisconnectInputs: Failed to RemoveUtxo
ERROR: Reorganize() : DisconnectBlock failed
InvalidChainFound: invalid block=d2aec435dab171ad51a6  height=546454  work=743384791149623726733627
InvalidChainFound:  current best=4afc18d5df36a458318c  height=546484  work=743374621162609495215019
InvalidChainFound: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.
ERROR: SetBestChain() : Reorganize failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 932b6ce087573c02b129
REORGANIZE
Reorganize():
  Old: CBlockIndex(nprev=22d19088, pnext=00000000, nFile=5, nBlockPos=834521779 nHeight=546484, merkle=76bba4019e, hashBlock=4afc18d5df36a458318c)
  New: CBlockIndex(nprev=22d18bc0, pnext=00000000, nFile=5, nBlockPos=834532958 nHeight=546455, merkle=911d9179cf, hashBlock=932b6ce087573c02b129)
  Common: CBlockIndex(nprev=259eb218, pnext=25d614f8, nFile=5, nBlockPos=834419566 nHeight=546452, merkle=9d990441ae, hashBlock=3fc332637db306043ee3)
ERROR: Trying to remove non-existant UTXO entry.
ERROR: DisconnectInputs: Failed to RemoveUtxo
ERROR: Reorganize() : DisconnectBlock failed
InvalidChainFound: invalid block=932b6ce087573c02b129  height=546455  work=743389900078413882796572
InvalidChainFound:  current best=4afc18d5df36a458318c  height=546484  work=743374621162609495215019
InvalidChainFound: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.
ERROR: SetBestChain() : Reorganize failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 64a7dd6397604623a3de
REORGANIZE
Reorganize():
  Old: CBlockIndex(nprev=22d19088, pnext=00000000, nFile=5, nBlockPos=834521779 nHeight=546484, merkle=76bba4019e, hashBlock=4afc18d5df36a458318c)
  New: CBlockIndex(nprev=22d19110, pnext=00000000, nFile=5, nBlockPos=834537851 nHeight=546456, merkle=d0b6dc38c6, hashBlock=64a7dd6397604623a3de)
  Common: CBlockIndex(nprev=259eb218, pnext=25d614f8, nFile=5, nBlockPos=834419566 nHeight=546452, merkle=9d990441ae, hashBlock=3fc332637db306043ee3)
ERROR: Trying to remove non-existant UTXO entry.
ERROR: DisconnectInputs: Failed to RemoveUtxo
ERROR: Reorganize() : DisconnectBlock failed
InvalidChainFound: invalid block=64a7dd6397604623a3de  height=546456  work=743395008985613762056578
InvalidChainFound:  current best=4afc18d5df36a458318c  height=546484  work=743374621162609495215019
InvalidChainFound: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.
ERROR: SetBestChain() : Reorganize failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 40701bd416d790f452f0
REORGANIZE
Reorganize():
  Old: CBlockIndex(nprev=22d19088, pnext=00000000, nFile=5, nBlockPos=834521779 nHeight=546484, merkle=76bba4019e, hashBlock=4afc18d5df36a458318c)
  New: CBlockIndex(nprev=22d19198, pnext=00000000, nFile=5, nBlockPos=834539351 nHeight=546457, merkle=3de3745133, hashBlock=40701bd416d790f452f0)
  Common: CBlockIndex(nprev=259eb218, pnext=25d614f8, nFile=5, nBlockPos=834419566 nHeight=546452, merkle=9d990441ae, hashBlock=3fc332637db306043ee3)
ERROR: Trying to remove non-existant UTXO entry.
ERROR: DisconnectInputs: Failed to RemoveUtxo
ERROR: Reorganize() : DisconnectBlock failed
InvalidChainFound: invalid block=40701bd416d790f452f0  height=546457  work=743400121695514650721121
InvalidChainFound:  current best=4afc18d5df36a458318c  height=546484  work=743374621162609495215019
InvalidChainFound: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.
ERROR: SetBestChain() : Reorganize failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 90f5429e06338688321e
REORGANIZE
Reorganize():
  Old: CBlockIndex(nprev=22d19088, pnext=00000000, nFile=5, nBlockPos=834521779 nHeight=546484, merkle=76bba4019e, hashBlock=4afc18d5df36a458318c)
  New: CBlockIndex(nprev=22d18ab0, pnext=00000000, nFile=5, nBlockPos=834542321 nHeight=546458, merkle=572ee51a89, hashBlock=90f5429e06338688321e)
  Common: CBlockIndex(nprev=259eb218, pnext=25d614f8, nFile=5, nBlockPos=834419566 nHeight=546452, merkle=9d990441ae, hashBlock=3fc332637db306043ee3)
ERROR: Trying to remove non-existant UTXO entry.
ERROR: DisconnectInputs: Failed to RemoveUtxo
ERROR: Reorganize() : DisconnectBlock failed
InvalidChainFound: invalid block=90f5429e06338688321e  height=546458  work=743405234340549348761257
InvalidChainFound:  current best=4afc18d5df36a458318c  height=546484  work=743374621162609495215019
InvalidChainFound: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.
ERROR: SetBestChain() : Reorganize failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 1a61aaf7857c950f7c16
REORGANIZE



this keeps going on this way
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC

Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
Re: huntercoin stopped working on both machines
« Reply #2 on: January 29, 2015, 08:14:11 PM »
it started at 19:10 GMT and i can confirm that it happened right after a transaction with an OP_RETURN tag has been generated, don't think this is a coincidence, atm the blockchain being generated isn't good!
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC

redbeans2012

  • Guest
Re: huntercoin stopped working on both machines
« Reply #3 on: January 29, 2015, 08:23:28 PM »
Looks like mine is doing the same.. Did I crash huntercoin?

Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
Re: huntercoin stopped working on both machines
« Reply #4 on: January 29, 2015, 08:23:42 PM »
the fact that even the blockexplorer stopped at that block couldn't be a coincidence too
https://www.huntercoin.info/blockExplorer

but maybe that's another reason, time is different
« Last Edit: January 29, 2015, 08:28:51 PM by Mithril Man »
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC

Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
Re: huntercoin stopped working on both machines
« Reply #5 on: January 29, 2015, 08:24:25 PM »
lol yes billy :D
looks like if the transaction that cointains RETURN_OP screwed something, or at least i smell that's the cause, the times match
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC

domob

  • Developer
  • Sr. Member
  • *****
  • Posts: 285
    • View Profile
Re: huntercoin stopped working on both machines
« Reply #6 on: January 29, 2015, 08:28:54 PM »
Ouch!  I see it, too.  Maybe it is related to reorganisation (disconnecting blocks with OP_RETURN).  I'll try to check this on a local testnet.
Use your Namecoin-ID as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | HBkxA5QmYSATFoPN1wFk8eBkgwPpY97Mfu

Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
Re: huntercoin stopped working on both machines
« Reply #7 on: January 29, 2015, 08:34:56 PM »
Ouch!  I see it, too.  Maybe it is related to reorganisation (disconnecting blocks with OP_RETURN).  I'll try to check this on a local testnet.

if you need help i'm running 1 testnet node and could launch another 1

p.s.
i tried op_returns days ago on testnet without problems, i'm attached to the original old testnet where bgb bots are also running
« Last Edit: January 29, 2015, 08:37:35 PM by Mithril Man »
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC

domob

  • Developer
  • Sr. Member
  • *****
  • Posts: 285
    • View Profile
Re: huntercoin stopped working on both machines
« Reply #8 on: January 29, 2015, 08:43:17 PM »
Thanks for the offer, but not necessary.  I could reproduce the issue on a local testnet.  The problem is when a reorganisation undoes an OP_RETURN tx.  (Not sure how I could forget to test that, sorry about that....  Seems we need some unit testing and RPC tests as in my Namecoin rebase.)  I've got a patch almost finished and will create a pull request soon.  The bad news is that you probably have to resync the stuck nodes (or use a blockchain directory backup / download).
Use your Namecoin-ID as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | HBkxA5QmYSATFoPN1wFk8eBkgwPpY97Mfu

Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
Re: huntercoin stopped working on both machines
« Reply #9 on: January 29, 2015, 08:48:03 PM »
cool news is you already fixed the problem
bad news is that i've no fresh blockchain backup, think i'll download your last one :)
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC

domob

  • Developer
  • Sr. Member
  • *****
  • Posts: 285
    • View Profile
Re: huntercoin stopped working on both machines
« Reply #10 on: January 29, 2015, 08:50:36 PM »
https://github.com/chronokings/huntercoin/pull/96

I hope this fixes the problem - but I think I understand why it happened and this patch should fix the cause.  Furthermore, I could reproduce the issue locally, and this patch also fixes the problem there (if resynced after upgrading the version).
Use your Namecoin-ID as OpenID: https://nameid.org/
Donations: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | HBkxA5QmYSATFoPN1wFk8eBkgwPpY97Mfu

Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
Re: huntercoin stopped working on both machines
« Reply #11 on: January 29, 2015, 08:58:34 PM »
problem is i (and others for sure) can't compile it, should wait official release
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC

Snailbrain

  • Developer
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: huntercoin stopped working on both machines
« Reply #12 on: January 29, 2015, 09:45:07 PM »
nearly finished compiling..

you may need to resync the chain or use a backup if already stuck..

Snailbrain

  • Developer
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: huntercoin stopped working on both machines
« Reply #13 on: January 29, 2015, 10:08:54 PM »
https://mega.co.nz/#!oZ0DTITR!BCpObY6zNZZIdYziG6ojPKA4aTIQphEkhXghNaYKZis


downloading chain from website atm, so have not tested if working..


Mithril Man

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • Mithril Man Web!
Re: huntercoin stopped working on both machines
« Reply #14 on: January 29, 2015, 10:36:09 PM »
downloaded and trying now to resyn, will take a while, 14 days to download respect last chain update
Alternative GUI client for Huntercoin http://www.mithrilman.com
HUC donation: HMSCYGYJ5wo9FiniVU4pXWGUu8E8PSmoHE
BTC donation: 1DKLf1QKAZ5njucq37pZhMRG67qXDP3vPC