Bitcoin Forum
December 11, 2024, 10:52:28 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ReadBlockFromDisk: Errors in block header at CBlockDiskPos  (Read 238 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 413
Merit: 5


View Profile WWW
February 21, 2018, 01:17:03 PM
 #1

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.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3570
Merit: 6927


Just writing some code


View Profile WWW
February 21, 2018, 09:36:26 PM
 #2

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.

wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 413
Merit: 5


View Profile WWW
February 22, 2018, 06:29:01 AM
Last edit: February 22, 2018, 06:55:49 AM by wsxdrfv
 #3

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.
.
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!