2 Construct a linear, no-fork, best version of the blockchain.
4 ## Step 1: Download hash list
6 $ ./linearize-hashes.py linearize.cfg > hashlist.txt
8 Required configuration file settings for linearize-hashes:
9 * RPC: rpcuser, rpcpassword
11 Optional config file setting for linearize-hashes:
13 * Block chain: min_height, max_height
15 ## Step 2: Copy local block data
17 $ ./linearize-data.py linearize.cfg
19 Required configuration file settings:
20 * "input": bitcoind blocks/ directory containing blkNNNNN.dat
21 * "hashlist": text file containing list of block hashes, linearized-hashes.py
23 * "output_file": bootstrap.dat
25 * "output": output directory for linearized blocks/blkNNNNN.dat output
27 Optional config file setting for linearize-data:
28 * "netmagic": network magic number
29 * "max_out_sz": maximum output file size (default 1000*1000*1000)
30 * "split_timestamp": Split files when a new month is first seen, in addition to
31 reaching a maximum file size.
32 * "file_timestamp": Set each file's last-modified time to that of the
33 most recent block in that file.