Author

Topic: How to run coin's daemon at VPS server? (Read 175 times)

jr. member
Activity: 413
Merit: 5
April 01, 2018, 10:21:47 PM
#4
So after I made coin at local virtualbox's ubuntu, compiled,

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.
legendary
Activity: 1946
Merit: 1427
March 30, 2018, 07:54:17 AM
#3
So after I made coin at local virtualbox's ubuntu, compiled,

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
legendary
Activity: 2464
Merit: 3158
March 30, 2018, 07:33:51 AM
#2
You should try to compile the coin daemon directly on the VPS. The architecture may be slightly different.

What OS is that ? If it is Debian based (like Ubuntu) try this guide : https://dev.cryptolife.net/compiling-the-daemon-for-your-altcoin-in-ubuntu-linux/

Every step is important. You have to enable swap if you are low on RAM.

If you tried to do that, please tell us if it worked. Smiley
jr. member
Activity: 413
Merit: 5
March 30, 2018, 03:11:40 AM
#1
So after I made coin at local virtualbox's ubuntu, compiled,

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?
Jump to: