Author

Topic: Has anyone ran into this issue? (Read 902 times)

hero member
Activity: 490
Merit: 500
March 09, 2015, 09:32:07 AM
#6
im trying to teach myself how to make a coin for fun & i just ran into this problem

Code:
main.cpp:2626: bool LoadBlockIndex(bool): Assertion `block.GetHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.

i got this after inserting the genesis block hash & recompiling.

any ideas?
Which coin's source you're using to make your coin? Try with different coin's source i think the some code has been removed  from main.cpp ?

I've been tinkering around with OHLC's source

https://github.com/JamesAndersson/OHLC

I found the genesishash input under main.h & not main.cpp
legendary
Activity: 1288
Merit: 1012
March 09, 2015, 05:22:22 AM
#5
im trying to teach myself how to make a coin for fun & i just ran into this problem

Code:
main.cpp:2626: bool LoadBlockIndex(bool): Assertion `block.GetHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.

i got this after inserting the genesis block hash & recompiling.

any ideas?
Which coin's source you're using to make your coin? Try with different coin's source i think the some code has been removed  from main.cpp ?
hero member
Activity: 490
Merit: 500
March 09, 2015, 12:51:51 AM
#4
This kind of topic should go to Development & Technical Discussion board: https://bitcointalk.org/index.php?board=6.0, there are more professional coders there.

thanks ill give it a shot
legendary
Activity: 1386
Merit: 1016
March 09, 2015, 12:14:17 AM
#3
This kind of topic should go to Development & Technical Discussion board: https://bitcointalk.org/index.php?board=6.0, there are more professional coders there.
Ix
full member
Activity: 218
Merit: 128
March 08, 2015, 11:36:31 PM
#2
I don't know the bitcoin code, but I would presume that the "hashGenesisBlock" value is equal to Bitcoin's genesis block hash, not the one you've created. You need to change it to be equal to your genesis block hash.
hero member
Activity: 490
Merit: 500
March 08, 2015, 11:20:50 PM
#1
im trying to teach myself how to make a coin for fun & i just ran into this problem

Code:
main.cpp:2626: bool LoadBlockIndex(bool): Assertion `block.GetHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)' failed.

i got this after inserting the genesis block hash & recompiling.

any ideas?
Jump to: