You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contrib/msggen/msggen/schema.json
+71-5Lines changed: 71 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -361,6 +361,62 @@
361
361
"Main web site: <https://github.com/ElementsProject/lightning>"
362
362
]
363
363
},
364
+
"lightning-askrene-disable-channel.json": {
365
+
"$schema": "../rpc-schema-draft.json",
366
+
"type": "object",
367
+
"additionalProperties": false,
368
+
"rpc": "askrene-disable-channel",
369
+
"title": "Command to disable a channel in a layer (EXPERIMENTAL)",
370
+
"description": [
371
+
"WARNING: experimental, so API may change.",
372
+
"",
373
+
"The **askrene-disable-channel** RPC command tells askrene to disable a channel whenever the given layer is used. This is mainly useful to force the use of alternate paths."
374
+
],
375
+
"request": {
376
+
"required": [
377
+
"layer",
378
+
"short_channel_id"
379
+
],
380
+
"properties": {
381
+
"layer": {
382
+
"type": "string",
383
+
"description": [
384
+
"The name of the layer to apply this change to."
385
+
]
386
+
},
387
+
"short_channel_id": {
388
+
"type": "short_channel_id",
389
+
"description": [
390
+
"The channel to disable."
391
+
]
392
+
},
393
+
"direction": {
394
+
"type": "u32",
395
+
"description": [
396
+
"The direction of the channel. If the direction is not specified then both directions are disabled."
"title": "Command to disable a channel in a layer (EXPERIMENTAL)",
7
+
"description": [
8
+
"WARNING: experimental, so API may change.",
9
+
"",
10
+
"The **askrene-disable-channel** RPC command tells askrene to disable a channel whenever the given layer is used. This is mainly useful to force the use of alternate paths."
11
+
],
12
+
"request": {
13
+
"required": [
14
+
"layer",
15
+
"short_channel_id"
16
+
],
17
+
"properties": {
18
+
"layer": {
19
+
"type": "string",
20
+
"description": [
21
+
"The name of the layer to apply this change to."
22
+
]
23
+
},
24
+
"short_channel_id": {
25
+
"type": "short_channel_id",
26
+
"description": [
27
+
"The channel to disable."
28
+
]
29
+
},
30
+
"direction": {
31
+
"type": "u32",
32
+
"description": [
33
+
"The direction of the channel. If the direction is not specified then both directions are disabled."
0 commit comments