I am making my own alt-coin, and I have mined the first genesis block hash(after some time), Merkle hash, nnonce and time. I am running on Ubuntu14.04.
But when I run ./bitcoind I get this error
Error: Incorrect or no genesis block found. Wrong datadir for network?
What does it mean? how do I fix it?
Here is debug.log shows:
2018-04-02 18:33:04 Booducoin version v0.8.7.4-gc1e46ab3a90b-beta () 2018-04-02 18:33:04 Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014 2018-04-02 18:33:04 Default data directory /home/boodu/.booducoin 2018-04-02 18:33:04 Using data directory /home/boodu/.booducoin 2018-04-02 18:33:04 Using at most 125 connections (1024 file descriptors available) 2018-04-02 18:33:04 init message: Verifying wallet... 2018-04-02 18:33:04 dbenv.open LogDir=/home/boodu/.booducoin/database ErrorFile=/home/boodu/.booducoin/db.log 2018-04-02 18:33:04 Bound to [::]:9333 2018-04-02 18:33:04 Bound to 0.0.0.0:9333 2018-04-02 18:33:04 init message: Loading block index... 2018-04-02 18:33:04 Opening LevelDB in /home/boodu/.booducoin/blocks/index 2018-04-02 18:33:04 Opened LevelDB successfully 2018-04-02 18:33:04 Opening LevelDB in /home/boodu/.booducoin/chainstate 2018-04-02 18:33:04 Opened LevelDB successfully 2018-04-02 18:33:04 LoadBlockIndexDB(): last block file = 0 2018-04-02 18:33:04 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=1, size=241, heights=0...0, time=2018-04-01...2018-04-01) 2018-04-02 18:33:04 LoadBlockIndexDB(): transaction index disabled 2018-04-02 18:33:04 LoadBlockIndexDB(): hashBestChain=5e55391ddfe7258c5d1dc5ebf2c8ce9bdec72edf482f171a6cb04416c53be9b8 height=0 date=2018-04-0$ 2018-04-02 18:33:04 Error: Incorrect or no genesis block found. Wrong datadir for network? 2018-04-02 18:33:04 Shutdown : In progress... 2018-04-02 18:33:04 StopNode() 2018-04-02 18:33:04 Flushed 0 addresses to peers.dat 3ms 2018-04-02 18:33:04 Committing 0 changed transactions to coin database... 2018-04-02 18:33:04 Shutdown : done