lnrpc+routing: remove k shortest path finding

This commit is contained in:
Joost Jager
2019-05-07 17:01:01 +02:00
parent c4415f0400
commit 7a5bd29a69
13 changed files with 714 additions and 1228 deletions

View File

@@ -2977,11 +2977,6 @@ var queryRoutesCommand = cli.Command{
Usage: "percentage of the payment's amount used as the " +
"maximum fee allowed when sending the payment",
},
cli.Int64Flag{
Name: "num_max_routes",
Usage: "the max number of routes to be returned",
Value: 10,
},
cli.Int64Flag{
Name: "final_cltv_delta",
Usage: "(optional) number of blocks the last hop has to reveal " +
@@ -3035,7 +3030,6 @@ func queryRoutes(ctx *cli.Context) error {
PubKey: dest,
Amt: amt,
FeeLimit: feeLimit,
NumRoutes: int32(ctx.Int("num_max_routes")),
FinalCltvDelta: int32(ctx.Int("final_cltv_delta")),
}