You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide an automated way to bootstrap testnet and mainnet Bitcoin Cash Node from a block file instead of waiting on network.
Bitcoin Cash Node enables us to provide it with a block file bootstrap.dat which it uses for the initial sync instead of fetching the blocks over the network.
re: #22
Provide an automated way to bootstrap testnet and mainnet Bitcoin Cash Node from a block file instead of waiting on network.
Bitcoin Cash Node enables us to provide it with a block file
bootstrap.dat
which it uses for the initial sync instead of fetching the blocks over the network.How to generate
bootstrap.dat
?linearize-data.py
andlinearize-hashes.py
from https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/tree/master/contrib/linearizelinearize-data.py
with this upstream commitlinearize.cfg
./linearize-hashes.py linearize.cfg > /tmp/hashlist.txt
This results in a 40GB file
/tmp/bootstrap.dat
How to restore
bootstrap.dat
using?bootstrap.dat.old
. This file is safe to delete.It should take about 40 minutes(on my laptop) to sync testnet.
Action items.
bootstrap.dat.old
The text was updated successfully, but these errors were encountered: