diff --git a/home.admin/config.scripts/lnd.check.sh b/home.admin/config.scripts/lnd.check.sh index 45b4284d8..ed254d7b2 100755 --- a/home.admin/config.scripts/lnd.check.sh +++ b/home.admin/config.scripts/lnd.check.sh @@ -69,7 +69,7 @@ if [ "$1" == "prestart" ]; then ##### APPLICATION OPTIONS SECTION ##### - # remove sync-freelist=1 (use =true is you want to overrule raspiblitz) + # remove sync-freelist=1 (use =true if you want to overrule raspiblitz) # https://github.com/rootzoll/raspiblitz/issues/3251 sed -i "/^# Avoid slow startup time/d" ${lndConfFile} sed -i "/^sync-freelist=1/d" ${lndConfFile} diff --git a/home.admin/config.scripts/lnd.install.sh b/home.admin/config.scripts/lnd.install.sh index 9f04b75b3..8ee436c75 100644 --- a/home.admin/config.scripts/lnd.install.sh +++ b/home.admin/config.scripts/lnd.install.sh @@ -306,13 +306,20 @@ debuglevel=info gc-canceled-invoices-on-startup=true gc-canceled-invoices-on-the-fly=true ignore-historical-gossip-filters=1 -sync-freelist=true stagger-initial-reconnect=true tlsautorefresh=1 tlsdisableautofill=1 tlscertpath=/home/bitcoin/.lnd/tls.cert tlskeypath=/home/bitcoin/.lnd/tls.key +# Set to false for nodes with larger amount of channels. This modification leads to increased +# latency during initialization, yet significantly boosts runtime performance of the daemon. +sync-freelist=true + +# Specify the maximum number of logfiles retained in rotation and the threshold size for rotation initiation. +maxlogfiles=5 +maxlogfilesize=400 + [Bitcoin] bitcoin.active=1 bitcoin.${CHAIN}=1