Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: KurangKerjaan on September 01, 2018, 06:45:32 PM



Title: FAILED to creating Genesis Hash (2 ETH BOUNTY)
Post by: KurangKerjaan on September 01, 2018, 06:45:32 PM
Hi im trying to create new genesis block for altcoin, for education purpose

use GenesisH0 , im changging all parameter on Chainparams.cpp

when i start daemon

Code:
chainparams.cpp:142: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("0000006a1b925071137b3e5e3ca95a8c6807435da26e7c4609fb5591799ce43a")' failed.

This Error Show up!

Please help me < Whats Should i do


Title: Re: FAILED to creating Genesis Hash (2 ETH BOUNTY)
Post by: shield132 on September 01, 2018, 09:13:30 PM
Comment the assertion line... Despite the fact that programming isn't my job, I'll try to do my best to help you (P.S sorry if I misunderstood your problem). Did you try to edit nonce genesis values, nTime, pszTimestamp ?
Someone here had similar problem as I remember and if I remember correctly, this was helpful for him: https://github.com/Peershares/Peershares/wiki/Genesis-Block-%28Starting-a-New-Blockchain-Instance%29


Title: Re: FAILED to creating Genesis Hash (2 ETH BOUNTY)
Post by: KurangKerjaan on September 02, 2018, 06:45:04 AM
Comment the assertion line... Despite the fact that programming isn't my job, I'll try to do my best to help you (P.S sorry if I misunderstood your problem). Did you try to edit nonce genesis values, nTime, pszTimestamp ?
Someone here had similar problem as I remember and if I remember correctly, this was helpful for him: https://github.com/Peershares/Peershares/wiki/Genesis-Block-%28Starting-a-New-Blockchain-Instance%29
thats for try to help me, i have solved my problem by changing port and regtest :)