Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Apocalipsis on January 04, 2014, 09:21:31 PM



Title: GENESIS BLOCK
Post by: Apocalipsis on January 04, 2014, 09:21:31 PM

According to this post https://bitcointalk.org/index.php?topic=189350.msg2035449#msg2035449.
I have putted the new hashMerkleRoot into the main.cpp (into
assert(block.hashMerkleRoot == uint256("0xbd58bf217abb76059de07dc519f6c3dcdf5b1a7bb9219a66d24205e08f3716f9"));  )
I compiled,and now I run bitcoin-qt.exe,and I get this error "asser(hash==hashGenesisBlock)"
http://s3.hostingkartinok.com/uploads/images/2014/01/3e64938b7316e3f6e71aebefadb01d78.png (http://hostingkartinok.com)

And according to this topic https://bitcointalk.org/index.php?topic=189350.msg2035449#msg2035449,I can't find BlockGetHash in debug.log.
      
And I CAN't  find this code this in main.cpp "" // If genesis block hash does not match, then generate new genesis hash.
                                                              if (true && block.GetHash() != hashGenesisBlock)""
Somebody can find this ?
I use Litecoin source.



What can it be?
How I can create Genesis Block?(if new MerkleRoot is already putted in)

Help me please


Title: Re: GENESIS BLOCK
Post by: Apocalipsis on January 05, 2014, 09:58:01 AM
anybody?


Title: Re: GENESIS BLOCK
Post by: Apocalipsis on January 06, 2014, 01:39:41 PM
anybody?

really coders,where are you?_)


Title: Re: GENESIS BLOCK
Post by: bitpop on January 08, 2014, 07:08:49 AM
Post in development


Title: Re: GENESIS BLOCK
Post by: Sharrow on January 08, 2014, 10:12:55 AM
Are you certain you've got the right debug.log?

Not sure if it applies in Windows but on Linux there is a testnet3 folder and the correct debug.log is situated in there.


Title: Re: GENESIS BLOCK
Post by: hashtagcoin on January 10, 2014, 10:37:31 AM

According to this post https://bitcointalk.org/index.php?topic=189350.msg2035449#msg2035449.
I have putted the new hashMerkleRoot into the main.cpp (into
assert(block.hashMerkleRoot == uint256("0xbd58bf217abb76059de07dc519f6c3dcdf5b1a7bb9219a66d24205e08f3716f9"));  )
I compiled,and now I run bitcoin-qt.exe,and I get this error "asser(hash==hashGenesisBlock)"
http://s3.hostingkartinok.com/uploads/images/2014/01/3e64938b7316e3f6e71aebefadb01d78.png (http://hostingkartinok.com)

And according to this topic https://bitcointalk.org/index.php?topic=189350.msg2035449#msg2035449,I can't find BlockGetHash in debug.log.
      
And I CAN't  find this code this in main.cpp "" // If genesis block hash does not match, then generate new genesis hash.
                                                              if (true && block.GetHash() != hashGenesisBlock)""
Somebody can find this ?
I use Litecoin source.



What can it be?
How I can create Genesis Block?(if new MerkleRoot is already putted in)

Help me please


Newer versions of these coins do not have the code included to generate a genesis block. For what ever reason the  if (true && block.GetHash() != hashGenesisBlock) section has been removed.

You have to go back to an earlier version of a coin such as smallchange to find it.  https://github.com/bfroemel/smallchange



Title: Re: GENESIS BLOCK
Post by: Apocalipsis on January 11, 2014, 12:37:58 PM

According to this post https://bitcointalk.org/index.php?topic=189350.msg2035449#msg2035449.
I have putted the new hashMerkleRoot into the main.cpp (into
assert(block.hashMerkleRoot == uint256("0xbd58bf217abb76059de07dc519f6c3dcdf5b1a7bb9219a66d24205e08f3716f9"));  )
I compiled,and now I run bitcoin-qt.exe,and I get this error "asser(hash==hashGenesisBlock)"
http://s3.hostingkartinok.com/uploads/images/2014/01/3e64938b7316e3f6e71aebefadb01d78.png (http://hostingkartinok.com)

And according to this topic https://bitcointalk.org/index.php?topic=189350.msg2035449#msg2035449,I can't find BlockGetHash in debug.log.
      
And I CAN't  find this code this in main.cpp "" // If genesis block hash does not match, then generate new genesis hash.
                                                              if (true && block.GetHash() != hashGenesisBlock)""
Somebody can find this ?
I use Litecoin source.



What can it be?
How I can create Genesis Block?(if new MerkleRoot is already putted in)

Help me please


Newer versions of these coins do not have the code included to generate a genesis block. For what ever reason the  if (true && block.GetHash() != hashGenesisBlock) section has been removed.

You have to go back to an earlier version of a coin such as smallchange to find it.  https://github.com/bfroemel/smallchange



thanks!
Really normal answer.
I think,THEY changed the code,to reduce the FORKS.=))Big mafia