Enable AutoPruning in Pharos Node
1. Step1: Node Status Verification
You can use the RPC API to check whether the node is actively running.
2. Step2: Enable Pruning
Enter the container pharos-testnet
and use the tool to enable auto-pruning
Once the above operations are complete, the node will automatically begin pruning its database.
3. (Optional)Step 3: Query Pruning Settings
Following the preceding steps, you may now query the pruning configurations
In the output logs, you can see the following information:
If enable_auto_prune
is set to 1
, it indicates that auto pruning has been enabled.
Last updated