Translations:LND Configuration Settings/38/en
Jump to navigation
Jump to search
Setting | Description |
---|---|
under [bolt] section | |
db.bolt.auto-compact=true | Allow automatic compaction of your channel.db file on startup |
db.bolt.auto-compact-min-age=240h | 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) |
under [Application Options] | |
gc-canceled-invoices-on-startup=1 | Cleanup canceled invoices on startup |
gc-canceled-invoices-on-the-fly=1 | Cleanup chanceled invoices at run-time |
Under [caches] section | |
caches.channel-cache-size=500000 | Maximum number of entries contained in the channel cache, which is used to reduce memory allocations from gossip queries from peers. Each entry requires roughly 2Kb. (default: 20000) |