Enable AutoPruning in Pharos Node
For v0.11+ Deployment (New Structure)
Step 1: Verify Node Status
curl -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \
http://localhost:18100Step 2: Enable Pruning
cd /data/$WORKSPACE/bin
./pharos_cli prune --c ../pharos.conf --enable_auto_prunedocker exec -it pharos-node /bin/bash
cd /data/bin
./pharos_cli prune --c ../pharos.conf --enable_auto_pruneStep 3: Query Pruning Settings (Optional)
For Legacy Deployment (Pre-v0.11)
Step 1: Verify Node Status
Step 2: Enable Pruning
Step 3: Query Pruning Settings (Optional)
Last updated
Was this helpful?
