Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am trying to create a genesis block for a personal play coin. I get the correct output of assertion failed. However when compiling I noticed the ./altcoin folder is not created at all.
The data directory (~/.altcoin) is created when the software is run, not when it is being compiled. Compilation has nothing to do with the datadir.
ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)
Required, but never shown