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.
This commit is contained in:
Doug authored and Douglas Roark committed 2017-01-05 00:46:29 -08:00
1 parent 7dac1e5e9e
commit d5aa19813c
4 files changed
+58 -19

No files matched your search

+3 -1
View File
@@ -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