askrene: add maxparts
Changelog-Added: askrene: add a new parameter maxparts to getroutes that limits the number of routes in the solution. Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
This commit is contained in:
@@ -73,6 +73,14 @@
|
||||
"Maximum number of blocks of delay for the route. Cannot be bigger than 2016."
|
||||
],
|
||||
"default": "2016"
|
||||
},
|
||||
"maxparts": {
|
||||
"type": "u32",
|
||||
"added": "v25.09",
|
||||
"description": [
|
||||
"Maximum number of routes in the solution."
|
||||
],
|
||||
"default": "100"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user