lnddatabasecompaction
Az LND adatbázis (channel.db) tömörítése
# a channel.db méretének ellenőrzése
sudo du -h /mnt/hdd/lnd/data/graph/mainnet/channel.db
# példa kimenet
# 1.0G /mnt/hdd/lnd/data/graph/mainnet/channel.dbAutomatikus tömörítés újraindításkor
[bolt] # Whether the databases used within lnd should automatically be compacted on # every startup (and if the database has the configured minimum age). This is # disabled by default because it requires additional disk space to be available # during the compaction that is freed afterwards. In general compaction leads to # smaller database files. db.bolt.auto-compact=true # How long ago the last compaction of a database file must be for it to be # considered for auto compaction again. Can be set to 0 to compact on every # startup. (default: 168h) # db.bolt.auto-compact-min-age=0db.bolt.auto-compact=false
Tömörítés a chantools eszközzel (Compaction with chantools)
A visszavonási napló megtisztítása
Raspiblitz vagy kompatibilis rendszeren:
Last updated