I am playing around trying to create an altcoin. Not releasing another shitcoin don't worry. Just interested.
I think I have created the correct MerkleRoot and GenesisBlock however when I run I get a seg fault:
...
2014-09-09 16:37:44 Opened LevelDB successfully
2014-09-09 16:37:44 LoadBlockIndexDB(): last block file = 0
2014-09-09 16:37:44 LoadBlockIndexDB(): transaction index disabled
2014-09-09 16:37:44 Initializing databases...
2014-09-09 16:37:44 6be7c8f3be4e9d3f6f03a817b082018f8a18e93311f60ff34c62181a23ebb0a6
2014-09-09 16:37:44 6be7c8f3be4e9d3f6f03a817b082018f8a18e93311f60ff34c62181a23ebb0a6 = Genesis Block
2014-09-09 16:37:44 1f1ed2572f95affa5ec799aef6665551f1c7ebf064c854d0e0e569715942f877
2014-09-09 16:37:44 CBlock(hash=6be7c8f3be4e9d3f6f03a817b082018f8a18e93311f60ff34c62181a23ebb0a6, input=01000000000000000000000000000000000000000000000000000000000000000000000077f842597169e5e0d054c864f0ebc7f1515566f6ae99c75efaaf952f57d21e1f60090f54f0ff0f1ea6710800, PoW=00000b854221b600d67501f78cf3c72eda5782338e00fa493bb5f71f7f34c145, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=1f1ed2572f95affa5ec799aef6665551f1c7ebf064c854d0e0e569715942f877, nTime=1410271584, nBits=1e0ffff0, nNonce=553382, vtx=1)
2014-09-09 16:37:44 CTransaction(hash=1f1ed2572f95affa5ec799aef6665551f1c7ebf064c854d0e0e569715942f877, ver=1, vin.size=1, vout.size=1, nLockTime=0)
CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 04ffff001d01044c744172636861656f6c6f676973747320696e204772656563652066696e642074776f206c61726765206d6172626c65207374617475657320617420616e6369656e7420746f6d62207769746820706f737369626c65206c696e6b20746f20416c6578616e646572207468652047726561742e2e2e21)
CTxOut(nValue=50.00000000, scriptPubKey=040184710fa689ad5023690c80f3a4)
vMerkleTree: 1f1ed2572f95affa5ec799aef6665551f1c7ebf064c854d0e0e569715942f877
2014-09-09 16:37:44 Pre-allocating up to position 0x1000000 in blk00000.dat
2014-09-09 16:37:44 Getting to connect best block DIAG
2014-09-09 16:37:44 ERROR: CTransaction::CheckTransaction() : coinbase script size
2014-09-09 16:37:44 ERROR: CheckBlock() : CheckTransaction failed
2014-09-09 16:37:44 InvalidChainFound: invalid block=6be7c8f3be4e9d3f6f03a817b082018f8a18e93311f60ff34c62181a23ebb0a6 height=0 log2_work=20.000022 date=2014-09-09 14:06:24
Using the latest source code from Litecoin github repository.
Ideas?