0

我尝试了以下步骤

https://www.hackster.io/pjdecarlo/how-to-make-a-cryptocurrency-using-litecoin-v0-15-source-fb5e82

但我无法创建自己的货币。我面临创建创世纪和更新源代码的问题。有什么指南或我可以遵循的吗

我面临的错误:

chainparams.cpp:126: CMainParams::CMainParams(): Assertion `consensus.hashGenesisBlock == uint256S("0x649027171c04bf7efd160c3d26e84cc4d6d3b500c6fcfab5e77cbfff788014aa")' failed.

我加了

printf("%s\ngenesis\n", consensus.hashGenesisBlock.ToString().c_str());
printf("%s\nmerkle\n", genesis.hashMerkleRoot.ToString().c_str());

到chainparams.cpp,现在我面临

ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)
4

0 回答 0