routing: persist mission control data

This commit is contained in:
Joost Jager committed 2019-07-31 08:44:00 +02:00
1 parent 3dc83d1b6b
commit 7e7b620355
14 files changed
+566 -28

No files matched your search

+4
View File
@@ -24,4 +24,8 @@ type RoutingConfig struct {
// executing a payment attempt that fails. It is used to trade off
// potentially better routes against their probability of succeeding.
AttemptCost btcutil.Amount `long:"attemptcost" description:"The (virtual) cost in sats of a failed payment attempt"`
// MaxMcHistory defines the maximum number of payment results that
// are held on disk by mission control.
MaxMcHistory int `long:"maxmchistory" description:"the maximum number of payment results that are held on disk by mission control"`
}