]> Git Repo - VerusCoin.git/blob - contrib/linearize/README.md
Merge pull request #4822
[VerusCoin.git] / contrib / linearize / README.md
1 # Linearize
2 Construct a linear, no-fork, best version of the blockchain.
3
4 ## Step 1: Download hash list
5
6    $ ./linearize-hashes.py linearize.cfg > hashlist.txt
7
8 Required configuration file settings for linearize-hashes:
9 * RPC: rpcuser, rpcpassword
10
11 Optional config file setting for linearize-hashes:
12 * RPC: host, port
13 * Block chain: min_height, max_height
14
15 ## Step 2: Copy local block data
16
17    $ ./linearize-data.py linearize.cfg
18
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
22 output.
23 * "output_file": bootstrap.dat
24       or
25 * "output": output directory for linearized blocks/blkNNNNN.dat output
26
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.
This page took 0.025061 seconds and 4 git commands to generate.