Bitcoin Forum
June 21, 2024, 04:50:14 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Creating a Genesis Block (Linux)  (Read 1339 times)
CrimsonGT (OP)
Full Member
***
Offline Offline

Activity: 462
Merit: 100



View Profile
December 29, 2013, 06:51:48 AM
Last edit: December 29, 2013, 07:11:21 AM by CrimsonGT
 #1

I have been messing around with the source code for Litecoin and trying to build it as an alternative coin. I am looking to possibly create a fake alt-coin for a project in my programming class, but need to actually have a pretty solid understanding of how it works. I have been following the guide at http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide which has been pretty smooth thus far, however I am running into a problem now when generating the genesis block.

I get to the point where I run it with "-testnet" and it fails as expected, but it is supposed to generate a file that contains the Merkel Hash. I am not too familiar with Linux for programming, but everything states that this should generate a ".testcoin" file in the Home directory, but nothing is being created there.

crimsongt@wheezy:~/testcoin/src$ ./testcoind -testnet
testcoind: main.cpp:2113: bool LoadBlockIndex(bool): Assertion `block.hashMerkleRoot == uint256("0x97ddfbbae6be97fd6cdf3e7ca13232a3afff2353e29badfab7f73011edd4ced9")' failed.
Aborted

Is there any way to figure out whats going wrong and why this file is not being generated?
maaku
Legendary
*
Offline Offline

Activity: 905
Merit: 1011


View Profile
December 29, 2013, 09:36:59 AM
 #2

We have an altcoin forum for this.

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
CrimsonGT (OP)
Full Member
***
Offline Offline

Activity: 462
Merit: 100



View Profile
December 29, 2013, 10:20:29 AM
 #3

My apologies, I thought it should be directed here being development related. I re-posted it on the Alt Coin forums and hopefully this one can be closed/removed.
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!