Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: wsxdrfv on February 21, 2018, 01:17:03 PM



Title: ReadBlockFromDisk: Errors in block header at CBlockDiskPos
Post by: wsxdrfv on February 21, 2018, 01:17:03 PM
So I after I set all values unique, first run ./xxxcoind , nothing happen, it seems stop, so I opened debug.log file, it says

---------
2018-02-21 11:44:37 ERROR: AcceptBlock: high-hash, proof of work failed (code 16)
2018-02-21 11:44:37 Reindexing finished
2018-02-21 11:44:37 Failed to open mempool file from disk. Continuing anyway.
2018-02-21 11:48:22 Potential stale tip detected, will try using extra outbound peer (last tip update: 180 seconds ago)
2018-02-21 11:51:22 Potential stale tip detected, will try using extra outbound peer (last tip update: 360 seconds ago)
-----------

So I searched about Potential stale.... some says -connect=0, so I did, then again past error appears...

-----------
2018-02-21 12:47:18 ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)
2018-02-21 12:47:18 *** Failed to read block
2018-02-21 12:47:18 Error: Error: A fatal internal error occurred, see debug.log for details
-----------

Why and how to resolve... hard, long way to go forward.

Thanks.


Title: Re: ReadBlockFromDisk: Errors in block header at CBlockDiskPos
Post by: achow101 on February 21, 2018, 09:36:26 PM
Your genesis block is wrong. You actually have to mine the block, not just change the parameters.



Please use google to search for how to make the genesis block properly. This is the billionth thread on this subject in the past month.


Title: Re: ReadBlockFromDisk: Errors in block header at CBlockDiskPos
Post by: wsxdrfv on February 22, 2018, 06:29:01 AM
Your genesis block is wrong. You actually have to mine the block, not just change the parameters.



Please use google to search for how to make the genesis block properly. This is the billionth thread on this subject in the past month.

Sorry. I googled a lot. Still can't find exact solution. Most of them are old or indirect.
.