qt wallet program run well in local,
so I uploaded only daemon file to VPS server's root folder's inside coin folder.
but when I run ./mycoind
it just stop a while and later spit out error of
bool InitBlockIndex(): Assertion 'hash == hashGenesisBlock' failed?
Aborted
Why and how to fix?
Did you create a genesis block? If so, there is something wrong with your merkle root ( or it simply spits this error because there is no hash), if not, then there's probably something wrong with your genesis block. ( It's not matching hash/ merkle root)
If you haven't created the genesis block ( or created it wrongly, (which i think is the error here)), try to follow something along these lines, https://bitcoin.stackexchange.com/a/21328
Yes my mistake. I didn't turn off or remove that genesis block code.