mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
aedc74dfa6
Make it possible to read blocks in any order. This will be required after headers-first (#4468), so should be merged before that. - Read block header. For expected blocks, continue, else skip. - For in-order blocks: copy block contents directly. Write prior out-of-order blocks if this connects a consecutive span. - For out-of-order blocks, store extents of block data for later retrieval. Cache out-of-order blocks in memory up to 100MB (configurable).
20 lines
477 B
INI
20 lines
477 B
INI
|
|
# bitcoind RPC settings (linearize-hashes)
|
|
rpcuser=someuser
|
|
rpcpassword=somepassword
|
|
host=127.0.0.1
|
|
port=8332
|
|
|
|
# bootstrap.dat hashlist settings (linearize-hashes)
|
|
max_height=313000
|
|
|
|
# bootstrap.dat input/output settings (linearize-data)
|
|
netmagic=f9beb4d9
|
|
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
|