Post
Topic
Board Announcements (Altcoins)
Re: [ANN][ROI] ROI Coin | CPU Only Solo Mining Hybrid | 15% POS | 593% Term Deposit
by
DisasterFaster
on 12/07/2018, 12:55:59 UTC
Bug fixed. I just installed the new wallet, deleted peer.dat and entered

Code:
invalidateblock 0000005ab0b3f50e92b6803d3236b310d6db26930f52b3b010ed937685fb2ce4

And now synced.

What was the cause of the bug?

The issue only impacted Windows users but what happened was a mismatch between nodes in calculating the TX values.

As you can see below:

2018-07-10 05:30:51 UpdateTip: new best=0000005ab0b3f50e92b6803d3236b310d6db26930f52b3b010ed937685fb2ce4  height=143706  log2_work=42.185102  tx=491993  date=2018-07-10 05:29:43 progress=0.999997  cache=2.7MiB(2599tx)
2018-07-10 05:30:51 Block:CBlockIndex(pprev=0x11607956190, nHeight=143706, merkle=5ea8352c362fed9556ad31ae3a9d62d7e05a3ff632662911bb5216ebbc3818d4, hashBlock=0000005ab0b3f50e92b6803d3236b310d6db26930f52b3b010ed937685fb2ce4, nNonce=4005, nTime=1531200583, location=96512, finalcalculation=3801005940)
2018-07-10 05:30:57 Process update request 8471
2018-07-10 05:30:57 list of deposits updated, count=269 beginReset=0.000000 qSort=0.000000 cache=0.008000 endReset=0.002000
2018-07-10 05:33:11 ERROR: AcceptToMemoryPool: not enough fees 77352af3c4dc09ddff70ce0f2e5374970b5ba0fe2ae271a109761933133de0f3, -2 < 0
2018-07-10 05:37:44 ERROR: CheckInputs(): 77352af3c4dc09ddff70ce0f2e5374970b5ba0fe2ae271a109761933133de0f3 value in (24359.44475167) < value out (24359.44475169)
2018-07-10 05:37:44 Misbehaving: [2a01:4f8:10a:657::2]:3377 (0 -> 100) BAN THRESHOLD EXCEEDED
2018-07-10 05:37:44 InvalidChainFound: invalid block=000000a0174fc2e369a050c337672c63e35d631c491f493dc4ed2a91d478a071  height=143707  log2_work=42.18511  date=2018-07-10 05:37:24
2018-07-10 05:37:44 InvalidChainFound:  current best=0000005ab0b3f50e92b6803d3236b310d6db26930f52b3b010ed937685fb2ce4  height=143706  log2_work=42.185102  date=2018-07-10 05:29:43
2018-07-10 05:37:44 ERROR: ConnectTip(): ConnectBlock 000000a0174fc2e369a050c337672c63e35d631c491f493dc4ed2a91d478a071 failed
2018-07-10 05:37:44 InvalidChainFound: invalid block=000000a0174fc2e369a050c337672c63e35d631c491f493dc4ed2a91d478a071  height=143707  log2_work=42.18511  date=2018-07-10 05:37:24
2018-07-10 05:37:44 InvalidChainFound:  current best=0000005ab0b3f50e92b6803d3236b310d6db26930f52b3b010ed937685fb2ce4  height=143706  log2_work=42.185102  date=2018-07-10 05:29:43
2018-07-10 05:38:29 receive version message: /ROIcoin:1.1.6/: version 250040, blocks=143707, us=99.198.250.160:54495, peer=28
2018-07-10 05:38:29 ERROR: AcceptBlockHeader: block is marked invalid
2018-07-10 05:38:29 ERROR: invalid header received
2018-07-10 05:38:29 ProcessMessages(headers, 90 bytes) FAILED peer=28
2018-07-10 05:39:21 ERROR: AcceptBlockHeader: prev block invalid
2018-07-10 05:39:21 Misbehaving: 144.76.174.21:3377 (0 -> 100) BAN THRESHOLD EXCEEDED

More specifically you can see the calculation mismatch here: value in (24359.44475167) < value out (24359.44475169)

Anyway the problem is diagnosed, tested fixed and all new wallet versions are released and ready to go.... Smiley