Author

Topic: Creating a Genesis Block (Linux) (Read 1339 times)

full member
Activity: 462
Merit: 100
December 29, 2013, 06: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.
legendary
Activity: 905
Merit: 1011
December 29, 2013, 05:36:59 AM
#2
We have an altcoin forum for this.
full member
Activity: 462
Merit: 100
December 29, 2013, 02:51:48 AM
#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?
Jump to: