The latest linearize-data.py errors out with the following on Ubuntu 14.04 i.e. running past the most recent .dat/the max_height setting:
Error:
Input file/home/example/.bitcoin/blocks/blk00174.dat Traceback (most recent call last): File "./linearize-data.py", line 231, in <module> copydata(settings, blkindex, blkset) File "./linearize-data.py", line 113, in copydata inF = open(fname, "rb") IOError: [Errno 2] No such file or directory: '/home/example/.bitcoin/blocks/blk00174.dat'
linearize.cfg:
# bitcoind RPC settings (linearize-hashes)
rpcuser=example
rpcpassword=example
host=127.0.0.1
port=8332
# bootstrap.dat hashlist settings (linearize-hashes)
max_height=313000
# bootstrap.dat input/output settings (linearize-data)
netmagic=f9beb4d9
input=/home/example/.bitcoin/blocks
output_file=/home/example/Downloads/bootstrap.dat
hashlist=hashlist.txt
split_year=1