You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this commit, we add the --disable-backup-archive with a default
as false. When set to true then previous channel backup file will
not be archived but replaced.
Copy file name to clipboardExpand all lines: config.go
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -247,6 +247,12 @@ const (
247
247
bitcoindBackendName="bitcoind"
248
248
btcdBackendName="btcd"
249
249
neutrinoBackendName="neutrino"
250
+
251
+
// defaultDisableBackupArchive indicates whether to disable archiving of
252
+
// channel backups. When false (default), old backups are archived to a
253
+
// designated location. When true, old backups are simply deleted or
254
+
// replaced.
255
+
defaultDisableBackupArchive=false
250
256
)
251
257
252
258
var (
@@ -364,6 +370,8 @@ type Config struct {
364
370
MaxPendingChannelsint`long:"maxpendingchannels" description:"The maximum number of incoming pending channels permitted per peer."`
365
371
BackupFilePathstring`long:"backupfilepath" description:"The target location of the channel backup file"`
366
372
373
+
DisableBackupArchivebool`long:"disable-backup-archive" description:"If set to true, channel backups will be deleted or replaced rather than being archived to a separate location."`
374
+
367
375
FeeURLstring`long:"feeurl" description:"DEPRECATED: Use 'fee.url' option. Optional URL for external fee estimation. If no URL is specified, the method for fee estimation will depend on the chosen backend and network. Must be set for neutrino on mainnet." hidden:"true"`
0 commit comments