Bitcoin Forum
June 17, 2024, 06:53:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: GENESIS BLOCK  (Read 3691 times)
Apocalipsis (OP)
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
January 04, 2014, 09:21:31 PM
 #1


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)"


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
Apocalipsis (OP)
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
January 05, 2014, 09:58:01 AM
 #2

anybody?
Apocalipsis (OP)
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
January 06, 2014, 01:39:41 PM
 #3

anybody?

really coders,where are you?_)
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 08, 2014, 07:08:49 AM
 #4

Post in development

Sharrow
Member
**
Offline Offline

Activity: 66
Merit: 10


View Profile
January 08, 2014, 10: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.
hashtagcoin
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
January 10, 2014, 10:37:31 AM
 #6


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

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

Apocalipsis (OP)
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
January 11, 2014, 12:37:58 PM
 #7


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)"


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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!