From d5aa19813c32eff02d4b65ac9a4131f3eed04825 Mon Sep 17 00:00:00 2001 From: Doug Date: Tue, 20 Dec 2016 19:25:24 -0800 Subject: Allow linearization scripts to support hash byte reversal Currently, the linearization scripts require input hashes to be in one endian form. Add support for byte reversal. --- contrib/linearize/example-linearize.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib/linearize/example-linearize.cfg') diff --git a/contrib/linearize/example-linearize.cfg b/contrib/linearize/example-linearize.cfg index 38da02e66c..cccdd79213 100644 --- a/contrib/linearize/example-linearize.cfg +++ b/contrib/linearize/example-linearize.cfg @@ -23,7 +23,9 @@ input=/home/example/.bitcoin/blocks output_file=/home/example/Downloads/bootstrap.dat hashlist=hashlist.txt -split_year=1 # Maxmimum size in bytes of out-of-order blocks cache in memory out_of_order_cache_sz = 100000000 + +# Do we want the reverse the hash bytes coming from getblockhash? +rev_hash_bytes = False -- cgit v1.2.3