Changeset View
Changeset View
Standalone View
Standalone View
contrib/linearize/README.md
Show All 40 Lines | |||||
* `genesis`: The hash of the genesis block in the blockchain. | * `genesis`: The hash of the genesis block in the blockchain. | ||||
* `input`: bitcoind blocks/ directory containing blkNNNNN.dat | * `input`: bitcoind blocks/ directory containing blkNNNNN.dat | ||||
* `hashlist`: text file containing list of block hashes created by | * `hashlist`: text file containing list of block hashes created by | ||||
linearize-hashes.py. | linearize-hashes.py. | ||||
* `max_out_sz`: Maximum size for files created by the `output_file` option. | * `max_out_sz`: Maximum size for files created by the `output_file` option. | ||||
(Default: `1000*1000*1000 bytes`) | (Default: `1000*1000*1000 bytes`) | ||||
* `netmagic`: Network magic number. | * `netmagic`: Network magic number. | ||||
* `out_of_order_cache_sz`: If out-of-order blocks are being read, the block can | * `out_of_order_cache_sz`: If out-of-order blocks are being read, the block can | ||||
be written to a cache so that the blockchain doesn't have to be seeked again. | be written to a cache so that the blockchain doesn't have to be sought again. | ||||
This option specifies the cache size. (Default: `100*1000*1000 bytes`) | This option specifies the cache size. (Default: `100*1000*1000 bytes`) | ||||
* `rev_hash_bytes`: If true, the block hash list written by linearize-hashes.py | * `rev_hash_bytes`: If true, the block hash list written by linearize-hashes.py | ||||
will be byte-reversed when read by linearize-data.py. See the linearize-hashes | will be byte-reversed when read by linearize-data.py. See the linearize-hashes | ||||
entry for more information. | entry for more information. | ||||
* `split_timestamp`: Split blockchain files when a new month is first seen, in | * `split_timestamp`: Split blockchain files when a new month is first seen, in | ||||
addition to reaching a maximum file size (`max_out_sz`). | addition to reaching a maximum file size (`max_out_sz`). |