diff options
author | Douglas Roark <doug@bloq.com> | 2017-01-18 22:22:46 -0800 |
---|---|---|
committer | Douglas Roark <doug@bloq.com> | 2017-01-25 13:12:03 -0800 |
commit | b9d95bd9a1b3e8613373ecd228805518f2852985 (patch) | |
tree | f6de99345ffce71288c6347bde1ba1879bb290dd /contrib/linearize/example-linearize.cfg | |
parent | b68f898efa095dce03533be8ac015c1faef23053 (diff) | |
download | bitcoin-b9d95bd9a1b3e8613373ecd228805518f2852985.tar.xz |
Fix various minor linearization script issues
- The last-timestamp-encountered variable wasn’t being used properly. Rewrite code to properly allow for new blockchain files to be written when split by month.
- Properly set a blockchain file’s access and modify times.
- Add a “debug output” option to quiet certain output that might not always be desirable.
- Update the README.
Diffstat (limited to 'contrib/linearize/example-linearize.cfg')
-rw-r--r-- | contrib/linearize/example-linearize.cfg | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/contrib/linearize/example-linearize.cfg b/contrib/linearize/example-linearize.cfg index cccdd79213..db53dc0ef6 100644 --- a/contrib/linearize/example-linearize.cfg +++ b/contrib/linearize/example-linearize.cfg @@ -1,4 +1,3 @@ - # bitcoind RPC settings (linearize-hashes) rpcuser=someuser rpcpassword=somepassword @@ -21,6 +20,9 @@ input=/home/example/.bitcoin/blocks #genesis=000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943 #input=/home/example/.bitcoin/testnet3/blocks +# "output" option causes blockchain files to be written to the given location, +# with "output_file" ignored. If not used, "output_file" is used instead. +# output=/home/example/blockchain_directory output_file=/home/example/Downloads/bootstrap.dat hashlist=hashlist.txt @@ -29,3 +31,12 @@ out_of_order_cache_sz = 100000000 # Do we want the reverse the hash bytes coming from getblockhash? rev_hash_bytes = False + +# On a new month, do we want to set the access and modify times of the new +# blockchain file? +file_timestamp = 0 +# Do we want to split the blockchain files given a new month or specific height? +split_timestamp = 0 + +# Do we want debug printouts? +debug_output = False |