Bitcoin Forum
June 14, 2024, 05:37:47 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Error when starting daemon  (Read 130 times)
progof (OP)
Jr. Member
*
Offline Offline

Activity: 157
Merit: 4


View Profile
April 16, 2018, 04:34:43 PM
 #1

Hello,

Compiled the coin code on VDS and launched the daemon and this error appeared:

2018-Apr-15 18:05:28.217926 ERROR   Failed to init: genesis block mismatch. Probably you set --testnet flag with data dir with non-test blockchain or another network.
2018-Apr-15 18:05:28.218066 ERROR   Failed to initialize blockchain storage
2018-Apr-15 18:05:28.218184 ERROR   Failed to initialize core
hushan
Member
**
Offline Offline

Activity: 61
Merit: 15


View Profile
April 19, 2018, 01:56:43 AM
 #2

The message indicates that the genesis block is different than the one stored on disk. Try remove contents of the datadir, by default, it is ~/.bitcoin, and try again.

BTC: 38ykUxZeSv5aqav1keCc4KUxXLPPGkfrm5 LTC: MPpWNvqDCVB1PHJt4A28j9oFfc6Y1KKDno ETH: 0x07C8c68d5253247038947EF9495b054160c8737c
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!