laanwj
commented at 10:40 AM on November 6, 2019:
member
Concept ACK, but please improve your commit message from just "Updated config file".
laanwj added the label Docs on Nov 6, 2019
gr0kchain renamed this: Updated config file to include regtest Updated config file for linearize contribution scripts to include support for regtest chain configuration on Nov 6, 2019
gr0kchain
commented at 11:09 AM on November 6, 2019:
contributor
Updated commit message as requested
laanwj
commented at 11:12 AM on November 6, 2019:
member
Thanks, but now it's too long long, please stick to the "consisting of a short subject line (50 chars max), a blank line and explanatory text as separate paragraph(s)" format.
gr0kchain
commented at 11:47 AM on November 6, 2019:
contributor
Thanks for the guidance, and apologies for the multi commit message updates, had some local config issues. Seems fine now with the updated log messages as per the documentation guidelines provided.
MarcoFalke
commented at 12:49 PM on November 6, 2019:
member
promag
commented at 3:17 PM on November 6, 2019:
member
ACK after squash.
fanquake added the label Waiting for author on Nov 6, 2019
doc: Added regtest config for linearize script
Updated the example-linearize.cfg file to include support for the regtest chain network config which is used by the ./linearize-data.py
Problem:
Without the regtest magic, genesis hash and path config, the `linearize-data.py` script cannot generate a bootstrap.dat file.
Example of error:
./linearize-data.py ./linearize.cfg
Read 102 hashes
Genesis block not found in hashlist
Solution:
Added netmagic, genesis and input example parameters to file.
Resolution
1. Starting bitcoind in regtest mode
2. bitcoin-cli generatetoaddress 101 $(bitcoin-cli getnewaddress)
3. ./linearize-hashes.py ./linearize.cfg > ./hashlist.txt
4. ./linearize-data.py ./linearize.cfg
Example after fix:
$ ./linearize-data.py ./linearize.cfg
Read 102 hashes
Input file /Users/gr0kchain/.bitcoin/regtest/blocks/blk00000.dat
Output file /Users/gr0kchain/Downloads/bootstrap.dat
Done (102 blocks written)
582e66b6e7
gr0kchain force-pushed on Nov 7, 2019
gr0kchain
commented at 6:11 AM on November 7, 2019:
contributor
Squashed the unnecessary noise and consolidated into a single commit with updated comment as per the guidelines
fanquake removed the label Waiting for author on Nov 8, 2019
fanquake renamed this: Updated config file for linearize contribution scripts to include support for regtest chain configuration doc: Added regtest config for linearize script on Jan 4, 2020
fanquake approved
fanquake
commented at 9:19 AM on January 4, 2020:
member
ACK582e66b6e75d58033987a7b0474226cfdd724ce0
fanquake referenced this in commit b949ac9697 on Jan 5, 2020
fanquake merged this on Jan 5, 2020
fanquake closed this on Jan 5, 2020
sidhujag referenced this in commit c7a50bb486 on Jan 5, 2020
sidhujag referenced this in commit 95fe775486 on Nov 10, 2020
PastaPastaPasta referenced this in commit 0dd58db366 on Jun 27, 2021
PastaPastaPasta referenced this in commit c7617e0d30 on Jun 28, 2021
PastaPastaPasta referenced this in commit 31df14036b on Jun 29, 2021
PastaPastaPasta referenced this in commit 6a95d69344 on Jul 1, 2021
PastaPastaPasta referenced this in commit 10d1ac2a49 on Jul 1, 2021
PastaPastaPasta referenced this in commit 964d46fa3c on Jul 14, 2021
PastaPastaPasta referenced this in commit ecbaf20937 on Jul 14, 2021
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:14 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me