LIGHTNING-ASKRENE-REMOVE-LAYER(7)
β¨ NAME β¨
askrene-remove-layer β the command that destroys a layer π
(yes, really, it's giving villain era but make it RPC)
Ok so real talk, bestie, this is from the lightning-askrene-remove-layer(7) manual β section 7, iykyk π
πΈ SYNOPSIS πΈ
askrene-remove-layer layer
π¦ DESCRIPTION π¦
This command was added in v24.11, so if you're on something older, it's literally not gonna be there, no cap π
The askrene-remove-layer RPC command tells askrene to forget a layer. That's it. That's the whole vibe. Poof, gone, bye πβ¨
layer(string) β the name of the layer to remove. Just the name, that's all it needs π«Ά
π RETURN VALUE π
On success, you get an empty object back. That's the whole flex:
{}
Nothing in it. Zero notes. Iconic behavior honestly π
π§ AUTHOR π§
Rusty Russell rusty@rustcorp.com.au is mainly responsible for this one. Slay, Rusty π
π SEE ALSO π
lightning-askrene-create-layer(7)β the one that makes the layer (the opposite energy, lowkey necessary)lightning-askrene-listlayers(7)β the one that shows you what layers you even have
β RESOURCES β
Main web site: https://github.com/ElementsProject/lightning
Go touch grass in the repo, it's full of good stuff π±
π₯ EXAMPLES π₯
Example 1:
Request:
$ lightning-cli askrene-remove-layer -k "layer"="test_layers"
{
"id": "example:askrene-remove-layer#1",
"method": "askrene-remove-layer",
"params": {
"layer": "test_layers"
}
}
Response:
{}
See? Empty object. Cried a little, felt nothing, moved on π«Άβ¨
ngl bestie, once you remove a layer it's gone β askrene is not keeping receipts for you. Double-check with lightning-askrene-listlayers(7) before you hit enter, fr fr π
Okay that's the whole page, mwah π β sourced from Core Lightning v26.06.9, and this little manual page is dated the same, so it's giving fresh-out-the-oven energy ππ§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: clightning 26.06.9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms