Avoid using % to format strings, switch to the new method instead.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGING4d3aa5243f5d: Update contrib/linearize scripts to use the new .format() method
rABC4d3aa5243f5d: Update contrib/linearize scripts to use the new .format() method
./src/bitcoind &
Create a config file called linearize.cfg with this content:
datadir=<your_data_dir> max_height=10 hashlist=hashlist.txt intput=<your_data_dir>/blocks output_file=<some_path>/blockchain.dat
Then:
./contrib/linearize/linearize-hashes.py linearize.cfg > hashlist.txt
A file named hashlist.txt with 11 hashes should have been created.
./contrib/linearize/linearize-data.py linearize.cfg
A blockchain.dat file should be created under the path specified in the
configuration file.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable