Add CBufferedFile and use it for -loadblock and bootstrap.dat #1962

pull sipa wants to merge 2 commits into bitcoin:master from sipa:bufferedfile changing 2 files +169 −40
  1. sipa commented at 11:45 PM on October 27, 2012: member

    The first commit adds CBufferedFile, which works like CAutoFile, but buffers the data in memory, so it is rewindable, and supports fast scanning inside the buffer.

    The second commits switches LoadExternalBlocksFromFile to use CBufferedFile, simplifying it, and removing all fseek()'s.

  2. BitcoinPullTester commented at 12:22 PM on October 30, 2012: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/f7bb8d71edbe2168622040ed8f13867e44f57cb5 for binaries and test log.

  3. BitcoinPullTester commented at 7:38 PM on November 1, 2012: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/0e53edbd61b9020b338a9fd7cae24fb5ed575d02 for binaries and test log.

  4. laanwj commented at 12:58 PM on November 5, 2012: member

    ACK Op 1 nov. 2012 20:38 schreef "BitcoinPullTester" notifications@github.com het volgende:

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/0e53edbd61b9020b338a9fd7cae24fb5ed575d02for binaries and test log.

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/pull/1962#issuecomment-9992887.

  5. Add CBufferedFile b5d5f44c95
  6. LoadExternalBlockFile switched to CBufferedFile 05d9726805
  7. sipa merged this on Nov 9, 2012
  8. sipa closed this on Nov 9, 2012

  9. HashUnlimited referenced this in commit 12597d5e14 on Apr 6, 2018
  10. KolbyML referenced this in commit 911a046859 on Dec 5, 2020
  11. DrahtBot 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-19 09:16 UTC

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