rootzoll
7 years ago
15 changed files with 281 additions and 133 deletions
@ -1,22 +1,25 @@ |
|||
echo "" |
|||
|
|||
# load network |
|||
network=`cat .network` |
|||
|
|||
echo "!!!! This will DELETE your personal data from the HDD !!!!" |
|||
echo "--> use the HDD with just blockchain in a fresh setup" |
|||
echo "Press ENTER to continue - CTRL+c to CANCEL" |
|||
read key |
|||
sudo dphys-swapfile swapoff |
|||
sudo systemctl stop bitcoind.service |
|||
sudo systemctl stop ${network}d.service |
|||
sudo systemctl stop lnd.service |
|||
sudo rm -f -r /mnt/hdd/lnd |
|||
sudo rm -f /mnt/hdd/swapfile |
|||
sudo rm -f /mnt/hdd/bitcoin/bitcoin.conf |
|||
sudo rm -f /mnt/hdd/bitcoin/bitcoin.pid |
|||
sudo rm -f /mnt/hdd/bitcoin/*.dat |
|||
sudo rm -f /mnt/hdd/bitcoin/*.log |
|||
sudo rm -f /mnt/hdd/bitcoin/bitcoin.conf |
|||
sudo rm -f /mnt/hdd/bitcoin/testnet3/*.dat |
|||
sudo rm -f /mnt/hdd/bitcoin/testnet3/*.log |
|||
sudo rm -f /mnt/hdd/bitcoin/testnet3/.lock |
|||
sudo rm -f -r /mnt/hdd/bitcoin/database |
|||
sudo chown admin:admin -R /mnt/hdd/bitcoin |
|||
sudo rm -f /mnt/hdd/${network}/${network}.conf |
|||
sudo rm -f /mnt/hdd/${network}/${network}.pid |
|||
sudo rm -f /mnt/hdd/${network}/*.dat |
|||
sudo rm -f /mnt/hdd/${network}/*.log |
|||
sudo rm -f /mnt/hdd/${network}/testnet3/*.dat |
|||
sudo rm -f /mnt/hdd/${network}/testnet3/*.log |
|||
sudo rm -f /mnt/hdd/${network}/testnet3/.lock |
|||
sudo rm -f -r /mnt/hdd/${network}/database |
|||
sudo chown admin:admin -R /mnt/hdd/${network} |
|||
echo "1" > /home/admin/.setup |
|||
echo "OK - the HDD is now clean" |
|||
|
@ -0,0 +1,28 @@ |
|||
# litecoind configuration |
|||
|
|||
# lightning on litecoin just has mainnet |
|||
#testnet=1 |
|||
|
|||
# Bitcoind options |
|||
server=1 |
|||
daemon=1 |
|||
txindex=1 |
|||
disablewallet=1 |
|||
|
|||
# Connection settings |
|||
rpcuser=raspibolt |
|||
# LINE15 -insert-> rpcpassword=[PASSWORDB] |
|||
zmqpubrawblock=tcp://127.0.0.1:28332 |
|||
zmqpubrawtx=tcp://127.0.0.1:28332 |
|||
|
|||
# Raspberry Pi optimizations |
|||
dbcache=100 |
|||
maxorphantx=10 |
|||
maxmempool=50 |
|||
maxconnections=40 |
|||
maxuploadtarget=5000 |
|||
|
|||
# litecoin specials |
|||
discardfee=0.00000001 |
|||
mintxfee=0.00000001 |
|||
minrelaytxfee=0.00000001 |
@ -0,0 +1,21 @@ |
|||
# lnd configuration |
|||
|
|||
[Application Options] |
|||
debuglevel=info |
|||
debughtlc=true |
|||
maxpendingchannels=5 |
|||
# LINE7 -insert-> alias=[ALIAS] |
|||
color=#68F442 |
|||
|
|||
[Litecoin] |
|||
litecoin.active=1 |
|||
litecoin.mainnet=1 |
|||
litecoin.node=litecoind |
|||
litecoind.rpcuser=jason |
|||
litecoind.rpcpass=litecoin |
|||
litecoind.zmqpath=tcp://127.0.0.1:28332 |
|||
|
|||
[autopilot] |
|||
autopilot.active=1 |
|||
autopilot.maxchannels=5 |
|||
autopilot.allocation=0.6 |
Loading…
Reference in new issue