Author

Topic: GENESIS BLOCK (Read 3715 times)

full member
Activity: 147
Merit: 100
January 11, 2014, 07:37:58 AM
#7

According to this post https://bitcointalksearch.org/topic/m.2035449.
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)"


And according to this topic https://bitcointalksearch.org/topic/m.2035449,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
newbie
Activity: 42
Merit: 0
January 10, 2014, 05:37:31 AM
#6

According to this post https://bitcointalksearch.org/topic/m.2035449.
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

And according to this topic https://bitcointalksearch.org/topic/m.2035449,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

member
Activity: 66
Merit: 10
January 08, 2014, 05:12:55 AM
#5
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.
legendary
Activity: 2912
Merit: 1060
January 08, 2014, 02:08:49 AM
#4
Post in development
full member
Activity: 147
Merit: 100
January 06, 2014, 08:39:41 AM
#3
anybody?

really coders,where are you?_)
full member
Activity: 147
Merit: 100
January 05, 2014, 04:58:01 AM
#2
anybody?
full member
Activity: 147
Merit: 100
January 04, 2014, 04:21:31 PM
#1

According to this post https://bitcointalksearch.org/topic/m.2035449.
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)"


And according to this topic https://bitcointalksearch.org/topic/m.2035449,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
Jump to: