mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
fb57255b5c
Probabilities are no longer returned for querymc calls. To still provide some insight into the mission control internals, this commit adds a new rpc that calculates a success probability estimate for a specific node pair and amount.
16 lines
294 B
Go
16 lines
294 B
Go
// +build routerrpc
|
|
|
|
package main
|
|
|
|
import "github.com/urfave/cli"
|
|
|
|
// routerCommands will return nil for non-routerrpc builds.
|
|
func routerCommands() []cli.Command {
|
|
return []cli.Command{
|
|
queryMissionControlCommand,
|
|
queryProbCommand,
|
|
resetMissionControlCommand,
|
|
buildRouteCommand,
|
|
}
|
|
}
|