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:
7 files changed
+62
-5
No files matched your search
@@ -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