Bitcoin Forum
December 15, 2024, 07:33:40 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: "Premature end of block data" when using linearize  (Read 187 times)
CoinFascination (OP)
Newbie
*
Offline Offline

Activity: 74
Merit: 0


View Profile
October 29, 2018, 04:47:13 AM
 #1

./linearize-data.py linearize.cfg
Runs fine and reads all the blocks but seems to try to read the next blk file that does not exist.
I do get a bootstrap.dat file but I also get a "Premature end of block data". I can't tell if this is a normal ending to running the script or not.

How does one confirm that a bootsrtrap.dat is, in fact, accurate or properly done?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3570
Merit: 6927


Just writing some code


View Profile WWW
October 30, 2018, 12:42:46 AM
 #2

./linearize-data.py linearize.cfg
Runs fine and reads all the blocks but seems to try to read the next blk file that does not exist.
I do get a bootstrap.dat file but I also get a "Premature end of block data". I can't tell if this is a normal ending to running the script or not.
That does not seem like the normal end of the script. That error means that it was unable to open the next file of block data which it was expecting. This could be due to a configuration error, or that perhaps the node is not synced to where you believe it to be. However, the resulting bootstrap.dat file should still be valid and usable. It just does not contain as many blocks as you expect it to contain.

How does one confirm that a bootsrtrap.dat is, in fact, accurate or properly done?
By trying to load it into a version of Bitcoin Core that can read the bootstrap.dat file and seeing if it does load it.

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!