Bitcoin Forum
October 20, 2017, 11:17:36 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [HELP] Having small issue upgrading alt from 0.6.2 to 0.8.6... likely easy fix?  (Read 914 times)
deaconboogie
Full Member
***
Offline Offline

Activity: 138


View Profile WWW
February 08, 2014, 06:00:10 PM
 #1

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...

Mooncoin: 2F4E859vh1ezhpdDnMZdcR4hS1gLn54ytf
BTC: 18S8XiKvFVhw6avx9tB21EHd3gNgomBFCK
1508498256
Hero Member
*
Offline Offline

Posts: 1508498256

View Profile Personal Message (Offline)

Ignore
1508498256
Reply with quote  #2

1508498256
Report to moderator
1508498256
Hero Member
*
Offline Offline

Posts: 1508498256

View Profile Personal Message (Offline)

Ignore
1508498256
Reply with quote  #2

1508498256
Report to moderator
1508498256
Hero Member
*
Offline Offline

Posts: 1508498256

View Profile Personal Message (Offline)

Ignore
1508498256
Reply with quote  #2

1508498256
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508498256
Hero Member
*
Offline Offline

Posts: 1508498256

View Profile Personal Message (Offline)

Ignore
1508498256
Reply with quote  #2

1508498256
Report to moderator
1508498256
Hero Member
*
Offline Offline

Posts: 1508498256

View Profile Personal Message (Offline)

Ignore
1508498256
Reply with quote  #2

1508498256
Report to moderator
deaconboogie
Full Member
***
Offline Offline

Activity: 138


View Profile WWW
February 08, 2014, 08:31:34 PM
 #2

bump

Mooncoin: 2F4E859vh1ezhpdDnMZdcR4hS1gLn54ytf
BTC: 18S8XiKvFVhw6avx9tB21EHd3gNgomBFCK
deaconboogie
Full Member
***
Offline Offline

Activity: 138


View Profile WWW
February 09, 2014, 01:38:54 PM
 #3

bump...

Mooncoin: 2F4E859vh1ezhpdDnMZdcR4hS1gLn54ytf
BTC: 18S8XiKvFVhw6avx9tB21EHd3gNgomBFCK
aethieso
Newbie
*
Offline Offline

Activity: 1


View Profile
February 09, 2014, 05:29:36 PM
 #4

Is the code available somewhere? Can you send it to me? It'd be hard to try and debug it otherwise...
drepteck
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 10, 2014, 12:22:09 AM
 #5

I'm glad you are trying to figure this out. Bump for justice. Moon is way oversold.
michalbb
Newbie
*
Offline Offline

Activity: 22


View Profile
February 11, 2014, 10:28:36 AM
 #6

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...
gavgav
Sr. Member
****
Offline Offline

Activity: 420


View Profile
February 11, 2014, 04:42:32 PM
 #7

How's it going?? Please keep us updated!
deaconboogie
Full Member
***
Offline Offline

Activity: 138


View Profile WWW
February 12, 2014, 08:35:56 PM
 #8

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!

Mooncoin: 2F4E859vh1ezhpdDnMZdcR4hS1gLn54ytf
BTC: 18S8XiKvFVhw6avx9tB21EHd3gNgomBFCK
deaconboogie
Full Member
***
Offline Offline

Activity: 138


View Profile WWW
February 16, 2014, 02:36:42 PM
 #9

Issue is resolved.

Mooncoin: 2F4E859vh1ezhpdDnMZdcR4hS1gLn54ytf
BTC: 18S8XiKvFVhw6avx9tB21EHd3gNgomBFCK
kalisto2002
Newbie
*
Offline Offline

Activity: 21


View Profile
May 04, 2014, 08:09:09 PM
 #10

How did you end up fixing this?

Sharecoin: SSzvSCobFCquUFWTnRbZ8o3YkkDtkTxFNc
Cosmorphic
Newbie
*
Offline Offline

Activity: 2


View Profile
June 05, 2014, 01:33:58 PM
 #11

I would also like to know how you fixed it.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!