doc: Added default signet config for linearize script #20015

pull gr0kchain wants to merge 1 commits into bitcoin:master from gr0kchain:master changing 1 files +8 −0
  1. gr0kchain commented at 12:47 PM on September 25, 2020: contributor

    Updated the example-linearize.cfg file to include support for the signet chain network config which is used by the ./linearize-data.py

    Problem: Without the signet magic, genesis hash and path config, the linearize-data.py script cannot generate a bootstrap.dat file.

    Example:

    ./linearize-data.py ./linearize.cfg
    Read 4776 hashes
    Genesis block not found in hashlist
    

    Solution:

    Added netmagic, genesis and input example parameters to file. Netmagic in terms of signet is derived from the signet-challenge and not static as with other networks. The provided signet magic is based on the default public signet.

    Resolution

    ./linearize-hashes.py ./linearize.cfg > ./hashlist.txt
    ./linearize-data.py ./linearize.cfg
    $ ./linearize-data.py ./linearize.cfg
    Read 4776 hashes
    Input file /Users/gr0kchain/.bitcoin/signet/blocks/blk00000.dat
    Output file /Users/gr0kchain/Downloads/bootstrap.dat
    1000 blocks scanned, 1000 blocks written (of 4776, 20.9% complete)
    2000 blocks scanned, 2000 blocks written (of 4776, 41.9% complete)
    3011 blocks scanned, 3000 blocks written (of 4776, 62.8% complete)
    4010 blocks scanned, 4000 blocks written (of 4776, 83.8% complete)
    Done (4776 blocks written)
    
  2. doc: Added default signet config for linearize script 8a4dcda414
  3. DrahtBot added the label Docs on Sep 25, 2020
  4. DrahtBot added the label Scripts and tools on Sep 25, 2020
  5. fanquake requested review from ajtowns on Sep 29, 2020
  6. fanquake requested review from kallewoof on Sep 29, 2020
  7. laanwj commented at 2:05 PM on September 29, 2020: member

    Tested ACK 8a4dcda414fcf8281d8b3b79039b735c0a7d0d4c

    Read 5362 hashes
    Input file /home/…/.bitcoin/signet/blocks/blk00000.dat
    Output file /tmp/bootstrap.dat
    1000 blocks scanned, 1000 blocks written (of 5362, 18.6% complete)
    2000 blocks scanned, 2000 blocks written (of 5362, 37.3% complete)
    3000 blocks scanned, 3000 blocks written (of 5362, 55.9% complete)
    4000 blocks scanned, 4000 blocks written (of 5362, 74.6% complete)
    5000 blocks scanned, 5000 blocks written (of 5362, 93.2% complete)
    Done (5362 blocks written)
    
  8. laanwj merged this on Sep 29, 2020
  9. laanwj closed this on Sep 29, 2020

  10. sidhujag referenced this in commit 405eda73b5 on Sep 29, 2020
  11. PastaPastaPasta referenced this in commit 9ff5d7b5ad on Jun 27, 2021
  12. PastaPastaPasta referenced this in commit 0be3b44964 on Jun 28, 2021
  13. PastaPastaPasta referenced this in commit 78202d0ec4 on Jun 29, 2021
  14. PastaPastaPasta referenced this in commit ed7306cd75 on Jul 1, 2021
  15. PastaPastaPasta referenced this in commit 1f3bb7b90c on Jul 1, 2021
  16. PastaPastaPasta referenced this in commit b05b40253c on Sep 17, 2021
  17. DrahtBot locked this on Feb 15, 2022
Contributors


ajtownskallewoof


github-metadata-mirror

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