lnd.conf and lnd.check.sh template adjustments (#4432)

* add larger logrotation and tiny typo fix
* reduce logs rotation & size
This commit is contained in:
HODLmeTight 2024-05-02 18:36:00 +02:00 committed by GitHub
parent b6c919a0e8
commit 425442c248
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View file

@ -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}

View file

@ -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