![]() |
![]()
| ![]() |
![]()
NAMElightning-askrene-inform-channel -- Command to add channel capacity restrictions to layer SYNOPSISaskrene-inform-channel layer short_channel_id_dir amount_msat inform DESCRIPTIONCommand added in v24.11. The askrene-inform-channel RPC command tells askrene about channels we used so it can update its capacity estimates. For most accuracy, you should remove your own reservations before calling this. It can be applied whether the current channel exists or not.
RETURN VALUEOn success, an object containing constraints 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-inform-channel -k "layer"="test_layers" "short_channel_id_dir"="0x0x1/1" "amount_msat"=100000 "inform"="unconstrained" { Response: {
|