mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
lnd+chanbackup: add lnd config flag
In this commit, we add the --no-backup-archive with a default as false. When set to true then previous channel backup file will not be archived but replaced. We also modify TestUpdateAndSwap test to make sure the new behaviour works as expected.
This commit is contained in:
@@ -309,6 +309,10 @@
|
||||
; Example:
|
||||
; backupfilepath=~/.lnd/data/chain/bitcoin/mainnet/channel.backup
|
||||
|
||||
; When false (default), old channel backups are archived to a designated location.
|
||||
; When true, old backups are simply replaced.
|
||||
; no-backup-archive=false
|
||||
|
||||
; The maximum capacity of the block cache in bytes. Increasing this will result
|
||||
; in more blocks being kept in memory but will increase performance when the
|
||||
; same block is required multiple times.
|
||||
|
||||
Reference in New Issue
Block a user