update linearize

This commit is contained in:
Michel van Kessel
2020-12-20 13:11:20 +01:00
parent 97a181a5ad
commit 2b7d4ca466
3 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ Optional config file setting for linearize-hashes:
$ ./linearize-data.py linearize.cfg
Required configuration file settings:
* "input": bitcoind blocks/ directory containing blkNNNNN.dat
* "input": blackmored blocks/ directory containing blkNNNNN.dat
* "hashlist": text file containing list of block hashes, linearized-hashes.py
output.
* "output_file": bootstrap.dat

View File

@@ -1,10 +1,10 @@
# bitcoind RPC settings (linearize-hashes)
# blackmored RPC settings (linearize-hashes)
rpcuser=someuser
rpcpassword=somepassword
host=127.0.0.1
port=8332
#port=18332
port=15715
#port=25715
# bootstrap.dat hashlist settings (linearize-hashes)
max_height=313000
@@ -14,12 +14,12 @@ max_height=313000
# mainnet
netmagic=f9beb4d9
genesis=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
input=/home/example/.bitcoin/blocks
input=/home/example/.blackmore/blocks
# testnet
#netmagic=0b110907
#genesis=000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943
#input=/home/example/.bitcoin/testnet3/blocks
#input=/home/example/.blackmore/testnet/blocks
output_file=/home/example/Downloads/bootstrap.dat
hashlist=hashlist.txt

View File

@@ -96,7 +96,7 @@ if __name__ == '__main__':
if 'host' not in settings:
settings['host'] = '127.0.0.1'
if 'port' not in settings:
settings['port'] = 8332
settings['port'] = 15715
if 'min_height' not in settings:
settings['min_height'] = 0
if 'max_height' not in settings: