Ethereum: How to make bitcoin-qt respect -prune?

I see that you are experiencing some issues with Bitcoin Core’s pruning behavior.

To help you resolve this issue, I will provide a step-by-step guide on how to increase the -prune flag to achieve the desired pruning size of around 550 MB.

Prune Settings:

Before we dive into the solution, let’s review the basic Bitcoin Core configuration:

prunemin=1500

This setting will prune blockchain data to around 1.5 GB per minute (1500 MB).

To increase this value and achieve a more appropriate pruning size of around 550 MB, you can try the following:

Step-by-step Solution:

  • Open the Bitcoin Core configuration file: Navigate to ~/.bitcoincore/config (on Linux/Mac) or %USERPROFILE%\AppData\Roaming\btcconfig (on Windows). Create a new file called .btcconfig using your text editor of choice.
  • Edit the pruning configuration: Update the following lines in the file:

prunemin=550

This setting should increase the pruning size to about 550 MB.

  • Save and close the file: Save your changes and close the file.
  • Restart Bitcoin Core: Start Bitcoin Core again, either from the command line (e.g. ./bitcoin-core on Linux/Mac) or by restarting your Qt application (on Qt 5.x).

Solution:

Ethereum: How to make bitcoin-qt respect -prune?

If you are using a recent version of Qt (e.g. Qt 5.12), you can also use the prune option with the -q flag to achieve similar results:

./bitcoin-core -q prune=550

This should increase the prune size without requiring manual setting.

Proof:

Once you have made these changes, restart Bitcoin Core and test the pruning behavior. You can monitor the progress of the pruning using tools like bitcoin-cli prunemin or by manually checking the blockchain data to see if it is downloading at the desired rate.

If you are still having problems with pruning, please provide more details about your system, configuration, and environment. I will be happy to help!

ETHEREUM CALCULATE HASH YOUR