![]() |
![]()
| ![]() |
![]()
NAMElightning-askrene-bias-channel -- Command to apply a manual bias to a channel in a layer SYNOPSISaskrene-bias-channel layer short_channel_id_dir bias [description] DESCRIPTIONCommand added in v24.11. The askrene-bias-channel RPC command tells askrene to favor or disfavor a channel when considering it for routing.
RETURN VALUEOn success, an object containing biases is returned. It is an array of objects, where each object contains:
AUTHORRusty Russell <rusty@rustcorp.com.au> is mainly responsible. SEE ALSOlightning-getroutes(7), lightning-askrene-disable-node(7), lightning-askrene-create-channel(7), lightning-askrene-listlayers(7), lightning-askrene-age(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli askrene-bias-channel -k "layer"="test_layers" "short_channel_id_dir"="109x1x1/1" "bias"=1 { Response: { Example 2: Request: $ lightning-cli askrene-bias-channel "test_layers" "109x1x1/1" "-5" "bigger bias" { Response: {
|