Bitcoin Forum
May 03, 2024, 09:10:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: "Premature end of block data" when using linearize  (Read 169 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?
1714770624
Hero Member
*
Offline Offline

Posts: 1714770624

View Profile Personal Message (Offline)

Ignore
1714770624
Reply with quote  #2

1714770624
Report to moderator
1714770624
Hero Member
*
Offline Offline

Posts: 1714770624

View Profile Personal Message (Offline)

Ignore
1714770624
Reply with quote  #2

1714770624
Report to moderator
1714770624
Hero Member
*
Offline Offline

Posts: 1714770624

View Profile Personal Message (Offline)

Ignore
1714770624
Reply with quote  #2

1714770624
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6578


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!