Add more disk space usage checks #2206

issue sipa opened this issue on January 23, 2013
  1. sipa commented at 4:02 PM on January 23, 2013: member

    Currently, there are only disk space usage checks before writing block data. The largest blobs of data are written when flushing the coindb, though, so this would also need a check.

  2. gmaxwell commented at 5:11 PM on January 23, 2013: contributor

    Due to fa45c26a0e5d3597814cef5ebd64e3db1b3b017d it doesn't even test when writing blocks anymore (because pre-allocation is infrequent it effectively never tests at runtime)

  3. sipa commented at 7:00 PM on January 23, 2013: member

    @gmaxwell Right, it's only at pre-allocation time (which makes sense, when just looking at block storage), but we still need to prevent out-of-disk-space when doing coincache flushes, as these are large bulk writes.

  4. gavinandresen commented at 8:29 PM on January 30, 2013: contributor

    Fixed by pull #2224

  5. gavinandresen closed this on Jan 30, 2013

  6. MarcoFalke locked this on Sep 8, 2021

Milestone
0.8.0


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 00:16 UTC

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