Merge pull request #7341 from bottlepay/final-settle-opt-in

channeldb: final htlc resolution storage opt-in
This commit is contained in:
Oliver Gugger authored and GitHub committed 2023-02-06 13:21:40 +01:00
commit 0cf0a7dd3b
10 files changed
+90 -25

No files matched your search

+3
View File
@@ -872,6 +872,9 @@ func (d *DefaultDatabaseBuilder) BuildDatabase(
channeldb.OptionDryRunMigration(cfg.DryRunMigration),
channeldb.OptionSetUseGraphCache(!cfg.DB.NoGraphCache),
channeldb.OptionKeepFailedPaymentAttempts(cfg.KeepFailedPaymentAttempts),
channeldb.OptionStoreFinalHtlcResolutions(
cfg.StoreFinalHtlcResolutions,
),
channeldb.OptionPruneRevocationLog(cfg.DB.PruneRevocation),
}