fix the use of the new bitcoin paths

This commit is contained in:
openoms
2025-09-14 21:21:46 +02:00
parent 94b0ca8d7b
commit b63775d0a2
7 changed files with 16 additions and 16 deletions

View File

@@ -64,11 +64,11 @@ case $CHOICE in
;; ;;
${network}LOG) ${network}LOG)
if [ ${CHAIN} = signet ]; then if [ ${CHAIN} = signet ]; then
bitcoinlogpath="/mnt/hdd/bitcoin/signet/debug.log" bitcoinlogpath="/mnt/hdd/app-data/bitcoin/signet/debug.log"
elif [ ${CHAIN} = testnet ]; then elif [ ${CHAIN} = testnet ]; then
bitcoinlogpath="/mnt/hdd/bitcoin/testnet3/debug.log" bitcoinlogpath="/mnt/hdd/app-data/bitcoin/testnet3/debug.log"
elif [ ${CHAIN} = mainnet ]; then elif [ ${CHAIN} = mainnet ]; then
bitcoinlogpath="/mnt/hdd/bitcoin/debug.log" bitcoinlogpath="/mnt/hdd/app-data/bitcoin/debug.log"
fi fi
clear clear
echo echo

View File

@@ -10,10 +10,10 @@ daemon=1
txindex=0 txindex=0
disablewallet=1 disablewallet=1
peerbloomfilters=1 peerbloomfilters=1
datadir=/mnt/hdd/bitcoin datadir=/mnt/hdd/app-storage/bitcoin
main.debuglogfile=/mnt/hdd/bitcoin/debug.log main.debuglogfile=/mnt/hdd/app-data/bitcoin/debug.log
test.debuglogfile=/mnt/hdd/bitcoin/testnet3/debug.log test.debuglogfile=/mnt/hdd/app-data/bitcoin/testnet3/debug.log
signet.debuglogfile=/mnt/hdd/bitcoin/signet/debug.log signet.debuglogfile=/mnt/hdd/app-data/bitcoin/signet/debug.log
# Connection settings # Connection settings
rpcuser=raspibolt rpcuser=raspibolt

View File

@@ -44,11 +44,11 @@ elif [ ${CHAIN} = mainnet ]; then
fi fi
# bitcoinlogpath # bitcoinlogpath
if [ ${CHAIN} = signet ]; then if [ ${CHAIN} = signet ]; then
bitcoinlogpath="/mnt/hdd/app-storage/bitcoin/signet/debug.log" bitcoinlogpath="/mnt/hdd/app-data/bitcoin/signet/debug.log"
elif [ ${CHAIN} = testnet ]; then elif [ ${CHAIN} = testnet ]; then
bitcoinlogpath="/mnt/hdd/app-storage/bitcoin/testnet3/debug.log" bitcoinlogpath="/mnt/hdd/app-data/bitcoin/testnet3/debug.log"
elif [ ${CHAIN} = mainnet ]; then elif [ ${CHAIN} = mainnet ]; then
bitcoinlogpath="/mnt/hdd/app-storage/bitcoin/debug.log" bitcoinlogpath="/mnt/hdd/app-data/bitcoin/debug.log"
fi fi
function addBitcoinAliases { function addBitcoinAliases {

View File

@@ -90,9 +90,9 @@ function add_repo {
function bitcoinI2Pstatus { function bitcoinI2Pstatus {
echo "# I2P related logs from the bitcoin debug log" echo "# I2P related logs from the bitcoin debug log"
echo "# Follow live with the command:" echo "# Follow live with the command:"
echo "sudo tail -n 1000 -f /mnt/hdd/bitcoin/debug.log | grep i2p" echo "sudo tail -n 1000 -f /mnt/hdd/app-data/bitcoin/debug.log | grep i2p"
echo echo
sudo cat /mnt/hdd/bitcoin/debug.log | grep i2p sudo cat /mnt/hdd/app-data/bitcoin/debug.log | grep i2p
echo echo
echo "# Running the command:" echo "# Running the command:"
echo "bitcoin-cli -netinfo 4" echo "bitcoin-cli -netinfo 4"
@@ -215,7 +215,7 @@ EOF
echo "# Config: /etc/i2pd/i2pd.conf" echo "# Config: /etc/i2pd/i2pd.conf"
echo "# i2pd web console: ${localip}:7070" echo "# i2pd web console: ${localip}:7070"
echo "# Monitor i2p in bitcoind:" echo "# Monitor i2p in bitcoind:"
echo "sudo tail -n 100 /mnt/hdd/bitcoin/debug.log | grep i2p" echo "sudo tail -n 100 /mnt/hdd/app-data/bitcoin/debug.log | grep i2p"
echo "bitcoin-cli -netinfo 4" echo "bitcoin-cli -netinfo 4"
exit 0 exit 0

View File

@@ -390,7 +390,7 @@ EOF
sudo /home/admin/config.scripts/blitz.conf.sh set BTCRPCexplorer "on" sudo /home/admin/config.scripts/blitz.conf.sh set BTCRPCexplorer "on"
echo "# needs to finish creating txindex to be functional" echo "# needs to finish creating txindex to be functional"
echo "# monitor with: sudo tail -n 20 -f /mnt/hdd/bitcoin/debug.log" echo "# monitor with: sudo tail -n 20 -f /mnt/hdd/app-data/bitcoin/debug.log"
echo "# npm audit fix" echo "# npm audit fix"
cd /home/btcrpcexplorer/btc-rpc-explorer/ cd /home/btcrpcexplorer/btc-rpc-explorer/
sudo npm audit fix sudo npm audit fix

View File

@@ -376,7 +376,7 @@ EOF
/home/admin/config.scripts/blitz.conf.sh set mempoolExplorer "on" /home/admin/config.scripts/blitz.conf.sh set mempoolExplorer "on"
echo "# needs to finish creating txindex to be functional" echo "# needs to finish creating txindex to be functional"
echo "# monitor with: sudo tail -n 20 -f /mnt/hdd/bitcoin/debug.log" echo "# monitor with: sudo tail -n 20 -f /mnt/hdd/app-data/bitcoin/debug.log"
# Hidden Service for Mempool if Tor is active # Hidden Service for Mempool if Tor is active
if [ "${runBehindTor}" = "on" ]; then if [ "${runBehindTor}" = "on" ]; then

View File

@@ -410,7 +410,7 @@ EOF
echo "# ${network}d is not running - so NOT restarting" echo "# ${network}d is not running - so NOT restarting"
fi fi
echo "# The indexing takes ~10h on an RPi4 with SSD" echo "# The indexing takes ~10h on an RPi4 with SSD"
echo "# check with: sudo cat /mnt/hdd/bitcoin/debug.log | grep filter" echo "# check with: sudo cat /mnt/hdd/app-data/bitcoin/debug.log | grep filter"
else else
echo "# blockfilterindex is already active" echo "# blockfilterindex is already active"
fi fi