PiNodeXMR icon indicating copy to clipboard operation
PiNodeXMR copied to clipboard

How to prune the node?

Open wyrmss opened this issue 4 months ago • 3 comments

Hello, this text is translated from Spanish. I am trying on a raspberry pi to make the private node work --prune-blockchain --sync-pruned-blocks, and I get an error when connecting the node. I have edited the moneroPrivate.sh file putting --prune-blockchain --sync-pruned-blocks like this: `#!/bin/bash

#Import Start Flag Values: #Establish Device IP . /home/pinodexmr/variables/deviceIp.sh #Import RPC Pay Port Number . /home/pinodexmr/variables/monero-rpcpay-port.sh #Import restricted Port Number . /home/pinodexmr/variables/monero-port.sh #Import IN-PEERS (connections) Limit . /home/pinodexmr/variables/in-peers.sh #Import OUT-PEERS (connections) Limit . /home/pinodexmr/variables/out-peers.sh #Import Data Limit Up . /home/pinodexmr/variables/limit-rate-up.sh #Import Data Limit Down . /home/pinodexmr/variables/limit-rate-down.sh #Import RPC username . /home/pinodexmr/variables/RPCu.sh #Import RPC password . /home/pinodexmr/variables/RPCp.sh #Import Credits . /home/pinodexmr/variables/credits.sh #Import Difficulty . /home/pinodexmr/variables/difficulty.sh #RPC payment address . /home/pinodexmr/variables/payment-address.sh

#Output the currently running state echo "#!/bin/sh BOOT_STATUS=6" > /home/pinodexmr/bootstatus.sh #Start Monerod cd /home/pinodexmr/monero/build/release/bin/ ./monerod --rpc-bind-ip=$DEVICE_IP --rpc-bind-port=$MONERO_PORT --zmq-pub tcp://$DEVICE_IP:18083 --rpc-restricted-bind-port=$MONERO_RPCPAY_PORT --confirm-external-bind --rpc-payment-allow-free-loopback --rpc-ssl disabled --in-peers=$IN_PEERS --out-peers=$OUT_PEERS --limit-rate-up=$LIMIT_RATE_UP --limit-rate-down=$LIMIT_RATE_DOWN --max-log-file-size=10485760 --log-level=1 --max-log-files=1 --pidfile /home/pinodexmr/monero/build/release/bin/monerod.pid --rpc-payment-address=$PAYMENT_ADDRESS --rpc-payment-credits=$CREDITS --rpc-payment-difficulty=$DIFFICULTY --public-node --enable-dns-blocklist --detach --prune-blockchain --sync-pruned-blocks`

My SSD hard drive is 240G and it practically fills up when the download finishes, pruning would solve it. thank you.

wyrmss avatar Oct 13 '24 00:10 wyrmss