routing: persist mission control data

This commit is contained in:
Joost Jager
2019-06-26 13:00:35 +02:00
parent 3dc83d1b6b
commit 7e7b620355
14 changed files with 566 additions and 28 deletions

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"`
}