Author

Topic: [HELP] Having small issue upgrading alt from 0.6.2 to 0.8.6... likely easy fix? (Read 1025 times)

newbie
Activity: 2
Merit: 0
I would also like to know how you fixed it.
newbie
Activity: 21
Merit: 0
How did you end up fixing this?
full member
Activity: 138
Merit: 100
full member
Activity: 138
Merit: 100
I've heard from one of the volunteers that they may have had some success with the 0.6.2 to 0.8.6 upgrade.

Once I can get the source from them and confirm, I'll implement the Gravity Well (which was stunningly easy) and make the code available.

We will still need someone from the community to provide clean Windows and Mac wallet builds as soon as the code drops!
sr. member
Activity: 490
Merit: 250
How's it going?? Please keep us updated!
newbie
Activity: 22
Merit: 0
Well, what is with the MoonCoin Wallet Upgrade? Please let us know deaconboogie, or if you need help put the source somewhere to GitHub or whatever, we need to something with the MOON...
newbie
Activity: 42
Merit: 0
I'm glad you are trying to figure this out. Bump for justice. Moon is way oversold.
newbie
Activity: 1
Merit: 0
Is the code available somewhere? Can you send it to me? It'd be hard to try and debug it otherwise...
full member
Activity: 138
Merit: 100
full member
Activity: 138
Merit: 100
full member
Activity: 138
Merit: 100
My alt (Moon) is based off of Dogecoin's 1.3 release from mid-December 2013.

They've recently upgraded Dogecoin to 1.5 and because there was a desire from the Moon community to implement Kimoto's Gravity Well, I've forked Dogecoin 1.5 and have been implementing my customizations.

I was having problem with the wallet compile but that's beside the point now. I decided to test the 0.8.6 build headless to make sure everything is still working properly and I have run into a very strange issue that I can't resolve for the life of me.

By comparing Doge 0.6.2 and 0.8.6 it looks like all they did was copy the following variables from main.cpp for both main net and test net where applicable:

scriptPubKey
pchMessageStart
hashGenesisBlock
block.nTime
block.nNonce

I did change the PUBKEY_ADDRESS as well, ports, seed hostname, etc., but those seem irrelevant to this matter.

I clear my .mooncoin folder and launch mooncoind and it immediately segfaults with the following in the debug.log:

2014-02-08 17:09:20 Pre-allocating up to position 0x1000000 in blk00000.dat
2014-02-08 17:09:20 ERROR: CTransaction::CheckTransaction() : coinbase script size
2014-02-08 17:09:20 ERROR: CheckBlock() : CheckTransaction failed
2014-02-08 17:09:20 InvalidChainFound: invalid block=bd687cbbac4842724d4b1dfd2e1a6ce35d765db05635b3ebd3810ba66ac5aee9  height=0  log2_work=20.000022  date=2013-12-27 15:36:43


What's shocking here is that it is barking about an invalid block -- that invalid block is the hash root!

In Doge, the hash roots from 0.6.2 and 0.8.6 are the same, just as in mine!

I feel like I have to be forgetting something here but I can't for the life of me figure out what...
Jump to: