|
February 08, 2014, 06:00:10 PM |
|
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...
|