mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
multi: Add decayedlog db migration code
This commit adds the migration code for the decayedlog db which is optional and will default to true.
This commit is contained in:
@@ -1073,6 +1073,8 @@ func (d *DefaultDatabaseBuilder) BuildDatabase(
|
||||
),
|
||||
channeldb.OptionPruneRevocationLog(cfg.DB.PruneRevocation),
|
||||
channeldb.OptionNoRevLogAmtData(cfg.DB.NoRevLogAmtData),
|
||||
channeldb.OptionGcDecayedLog(cfg.DB.NoGcDecayedLog),
|
||||
channeldb.OptionWithDecayedLogDB(dbs.DecayedLogDB),
|
||||
}
|
||||
|
||||
// Otherwise, we'll open two instances, one for the state we only need
|
||||
|
Reference in New Issue
Block a user