300GB of Blockchain in dir, prune is set to 20GB #22733

issue gaga9999 opened this issue on August 18, 2021
  1. gaga9999 commented at 6:28 AM on August 18, 2021: none

    I assume its just rubbish from old client versions of bitcoin core. how to identify files that are not used any more?

  2. gaga9999 added the label Bug on Aug 18, 2021
  3. MarcoFalke commented at 6:32 AM on August 18, 2021: member

    What is the content of the blockchain folder? Did you use txindex? bootstrap.dat? A version prior to 0.8?

  4. MarcoFalke removed the label Bug on Aug 18, 2021
  5. MarcoFalke added the label Questions and Help on Aug 18, 2021
  6. gaga9999 commented at 6:46 AM on August 18, 2021: none

    ./blocks is 300g and has an index dir, it has *.dat files from blk00668.dat to blk02701.dat and rev00667.dat to rev02701.dat and in /index a lot of ldb files, summing up to 105M

  7. MarcoFalke commented at 7:03 AM on August 18, 2021: member

    Did your node crash during a -reindex? What does the RPC getblockchaininfo tell you?

  8. gaga9999 commented at 6:15 AM on August 19, 2021: none

    yes i had several crashes. getblockchaininfo brings (anonymized):

    { "chain": "main", "blocks": 696479, "headers": 696479, "bestblockhash": "<...>", "difficulty": 15556093717702.55, "mediantime": ..., "verificationprogress": 0.9999977637842665, "initialblockdownload": false, "chainwork": "00000000000000000000000000000000000000002097f1948f8882a22d0f4080", "size_on_disk": 17548713171, "pruned": true, "pruneheight": 683334, "automatic_pruning": true, "prune_target_size": 18999148544, "softforks": { "bip34": { "type": "buried", "active": true, "height": 227931 }, "bip66": { "type": "buried", "active": true, "height": 363725 }, "bip65": { "type": "buried", "active": true, "height": 388381 }, "csv": { "type": "buried", "active": true, "height": 419328 }, "segwit": { "type": "buried", "active": true, "height": 481824 }, "taproot": { "type": "bip9", "bip9": { "status": "locked_in", "start_time": 1619222400, "timeout": 1628640000, "since": 687456, "min_activation_height": 709632 }, "active": false } }, "warnings": "" }

    so i assume it has forgotten about 330g on disk?

  9. gaga9999 commented at 9:39 AM on August 22, 2021: none

    please close, i deleted the data dir, the hd had an issue too, so i dont know if the issue is interacting with hd errors.

  10. fanquake closed this on Aug 22, 2021

  11. DrahtBot locked this on Aug 22, 2022

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-26 06:14 UTC

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