qt: Increase BLOCK_CHAIN_SIZE constants #10988

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2017_08_qt_block_chain_size changing 1 files +2 −2
  1. laanwj commented at 4:11 PM on August 4, 2017: member
    • Increase BLOCK_CHAIN_SIZE from 120GB to 150GB
    • Increase CHAIN_STATE_SIZE from 2GB to 4GB

    I took the local sizes of the blocks and chainstate directory, and added a bit extra to accomodate the near future (15GB for the chain and 1GB for the chainstate).

  2. laanwj added the label GUI on Aug 4, 2017
  3. laanwj added this to the milestone 0.15.0 on Aug 4, 2017
  4. in src/qt/intro.cpp:25 in 2f906c6da2 outdated
      21 | @@ -22,9 +22,9 @@
      22 |  
      23 |  static const uint64_t GB_BYTES = 1000000000LL;
      24 |  /* Minimum free space (in GB) needed for data directory */
      25 | -static const uint64_t BLOCK_CHAIN_SIZE = 120;
      26 | +static const uint64_t BLOCK_CHAIN_SIZE = 140;
    


    jonasschnelli commented at 6:43 PM on August 4, 2017:

    Github PR description says 150MB and I think 150MB is more realistic.


    achow101 commented at 11:45 PM on August 4, 2017:

    MB? Looks like a GB to me :stuck_out_tongue:


    sipa commented at 2:23 AM on August 5, 2017:

    I wish.


    laanwj commented at 6:43 AM on August 5, 2017:

    Eh yes, thanks for noticing. Updated to be really 150 exabyte.

  5. laanwj force-pushed on Aug 5, 2017
  6. qt: Increase BLOCK_CHAIN_SIZE constants
    - Increase `BLOCK_CHAIN_SIZE` from 120GB to 150GB
    - Increase `CHAIN_STATE_SIZE` from 2GB to 4GB
    
    I took the local sizes of the blocks and chainstate directory, and added
    a bit extra to accomodate the near future (15GB for the chain and 1GB
    for the chainstate).
    1967d2a4da
  7. laanwj force-pushed on Aug 5, 2017
  8. laanwj merged this on Aug 5, 2017
  9. laanwj closed this on Aug 5, 2017

  10. laanwj referenced this in commit a9dd111441 on Aug 5, 2017
  11. DrahtBot locked this on Sep 8, 2021
Labels

Milestone
0.15.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-13 15:15 UTC

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