mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
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:
parent
b6c919a0e8
commit
425442c248
2 changed files with 9 additions and 2 deletions
|
@ -69,7 +69,7 @@ if [ "$1" == "prestart" ]; then
|
||||||
|
|
||||||
##### APPLICATION OPTIONS SECTION #####
|
##### 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
|
# https://github.com/rootzoll/raspiblitz/issues/3251
|
||||||
sed -i "/^# Avoid slow startup time/d" ${lndConfFile}
|
sed -i "/^# Avoid slow startup time/d" ${lndConfFile}
|
||||||
sed -i "/^sync-freelist=1/d" ${lndConfFile}
|
sed -i "/^sync-freelist=1/d" ${lndConfFile}
|
||||||
|
|
|
@ -306,13 +306,20 @@ debuglevel=info
|
||||||
gc-canceled-invoices-on-startup=true
|
gc-canceled-invoices-on-startup=true
|
||||||
gc-canceled-invoices-on-the-fly=true
|
gc-canceled-invoices-on-the-fly=true
|
||||||
ignore-historical-gossip-filters=1
|
ignore-historical-gossip-filters=1
|
||||||
sync-freelist=true
|
|
||||||
stagger-initial-reconnect=true
|
stagger-initial-reconnect=true
|
||||||
tlsautorefresh=1
|
tlsautorefresh=1
|
||||||
tlsdisableautofill=1
|
tlsdisableautofill=1
|
||||||
tlscertpath=/home/bitcoin/.lnd/tls.cert
|
tlscertpath=/home/bitcoin/.lnd/tls.cert
|
||||||
tlskeypath=/home/bitcoin/.lnd/tls.key
|
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]
|
||||||
bitcoin.active=1
|
bitcoin.active=1
|
||||||
bitcoin.${CHAIN}=1
|
bitcoin.${CHAIN}=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue