{ "$schema": "../rpc-schema-draft.json", "type": "object", "additionalProperties": false, "rpc": "askrene-disable-node", "title": "Command to disable all channels to/from a node in a layer (EXPERIMENTAL)", "description": [ "WARNING: experimental, so API may change.", "", "The **askrene-disable-node** RPC command tells askrene to disable all channels connected to a node whenever the given layer is used. This is mainly useful to force the use of alternate paths: while individual channels can be disabled using askrene-create-channel or askrene-inform-channel, that would be racy if new channels appeared." ], "request": { "required": [ "layer", "node" ], "properties": { "layer": { "type": "string", "description": [ "The name of the layer to apply this change to." ] }, "node": { "type": "pubkey", "description": [ "The node to disable. It does not need to exist." ] } } }, "response": { "required": [], "properties": {} }, "see_also": [ "lightning-getroutes(7)", "lightning-askrene-create-channel(7)", "lightning-askrene-inform-channel(7)", "lightning-askrene-listlayers(7)", "lightning-askrene-age(7)" ], "author": [ "Rusty Russell <> is mainly responsible." ], "resources": [ "Main web site: " ] }