Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: sisenor on April 13, 2014, 05:04:25 AM



Title: "Incorrect or no genesis block found. Wrong datadir for network?"
Post by: sisenor on April 13, 2014, 05:04:25 AM
So I experienced a problem that others were also having where av software (avast) thinks some files (specifically, in my case, blk00129.dat, 1774506.log, 1774710.sst, 177415.sst, and 1774760.sst) within Bitcoin Core are viruses. Avast automatically quarantines the files. After reading about the problem, I tried to restore the files, thinking that would get me back up and running. Instead, I get the error "Incorrect or no genesis block found. Wrong datadir for network?" The files which were quarantined, and supposedly restored, are not in Library/Application Support/Bitcoin (Mac OS X). Actually, the .dat file is there but the chainstate files and log file are now different. Incidentally, blk00000.dat is still there, which I assume is the genesis block the error is referencing. Any help? Did some googling and found people having this error with altcoins but couldn't find pertinent solution. Thanks.


Title: Re: "Incorrect or no genesis block found. Wrong datadir for network?"
Post by: EFS on April 13, 2014, 10:18:51 AM
Backup all your wallets first. Delete Bitcoin folder in Users/Appdata/Roaming. Download again and wait for sync.


Title: Re: "Incorrect or no genesis block found. Wrong datadir for network?"
Post by: sisenor on April 13, 2014, 07:22:31 PM
Bummer, I was hoping to not have to resync...you sure this is the only solution?


Title: Re: "Incorrect or no genesis block found. Wrong datadir for network?"
Post by: grue on April 13, 2014, 09:12:41 PM
Bummer, I was hoping to not have to resync...you sure this is the only solution?
you can speed up the sync process by using the bootstrap torrent (https://bitcointalk.org/index.php?topic=145386.0).