contrib: Update linearize scripts. #4757

pull jgarzik wants to merge 2 commits into bitcoin:master from jgarzik:2014_linearize changing 4 files +256 −39
  1. jgarzik commented at 6:23 PM on August 23, 2014: contributor

    Break into two steps:

    • Generate hash list
    • Build data file(s) from local bitcoind blocks/ directory.

    This supports building one large bootstrap.dat, or multiple smaller blocks/blkNNNNN.dat files.

  2. jgarzik renamed this:
    Update linearize scripts.
    contrib: Update linearize scripts.
    on Aug 23, 2014
  3. in contrib/linearize/example-linearize.cfg:None in de37135150 outdated
      12 | +
      13 | +# bootstrap.dat input/output settings (linearize-data)
      14 |  netmagic=f9beb4d9
      15 | -max_height=279000
      16 | -output=bootstrap.dat
      17 | +input=/home/jgarzik/.bitcoin/blocks
    


    TheBlueMatt commented at 9:46 PM on August 23, 2014:

    Can we not hard-code /home/jgarzik (can we default to $HOME/.bitcoin/blocks or so?)

  4. in contrib/linearize/linearize-data.py:None in e53a00b83e outdated
     161 | +	if 'netmagic' not in settings:
     162 | +		settings['netmagic'] = 'f9beb4d9'
     163 | +	if 'input' not in settings:
     164 | +		settings['input'] = 'input'
     165 | +	if 'hashlist' not in settings:
     166 | +		settings['hashlist'] = 'hashlist.out'
    


    TheBlueMatt commented at 12:53 AM on August 24, 2014:

    Can we keep this consistent with hashlist.txt?

  5. TheBlueMatt commented at 12:53 AM on August 24, 2014: member

    Tested ACK.

  6. Update linearize scripts.
    Break into two steps:
    * Generate hash list
    * Build data file(s) from local bitcoind blocks/ directory.
    
    This supports building one large bootstrap.dat, or multiple
    smaller blocks/blkNNNNN.dat files.
    476eb7eb53
  7. jgarzik force-pushed on Aug 24, 2014
  8. contrib/linearize: split output files based on new-timestamp-year or max-file-size b4a72a75b4
  9. BitcoinPullTester commented at 3:14 AM on August 24, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4757_b4a72a75b4795dffbe973b0ae287343df2dac13c/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  10. jgarzik merged this on Aug 24, 2014
  11. jgarzik closed this on Aug 24, 2014

  12. jgarzik referenced this in commit 087eb43cff on Aug 24, 2014
  13. jgarzik deleted the branch on Aug 24, 2014
  14. MarcoFalke locked this on Sep 8, 2021

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-20 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me