multi: add the flag prune-revocation to perform the optional migration

This commit is contained in:
yyforyongyu committed 2022-07-12 21:01:11 +08:00
1 parent afb2f72ce2
commit 87f58a274b
3 files changed
+9

No files matched your search

+1
View File
@@ -857,6 +857,7 @@ func (d *DefaultDatabaseBuilder) BuildDatabase(
channeldb.OptionDryRunMigration(cfg.DryRunMigration),
channeldb.OptionSetUseGraphCache(!cfg.DB.NoGraphCache),
channeldb.OptionKeepFailedPaymentAttempts(cfg.KeepFailedPaymentAttempts),
channeldb.OptionPruneRevocationLog(cfg.DB.PruneRevocation),
}
// We want to pre-allocate the channel graph cache according to what we