LIGHTNING-ASKRENE-AGE(7)
β¨ LIGHTNING-ASKRENE-AGE(7) β¨
okay so bestie, welcome to the askrene-age page π
β that's the manual page name, and yes we're absolutely saying it out loud like it's a celebrity.
πΈ SYNOPSIS πΈ
askrene-age layer cutoff
that's it. two little args. iconic behavior π
π DESCRIPTION π
Command added in v24.11. β¨ (yes she's newish, she's still got that fresh-launch energy)
So the askrene-age RPC command tells askrene that info added to a layer by askrene-inform-channel and askrene-bias-channel gets, like, less useful once it's past a certain age. Very "that info is so last season" of it, ngl. It currently completely forgets constraints and biases older than cutoff β not "ages them out gracefully", just full on memory-holed. π
layer(string) β the name of the layer we're applying this change to π«Άcutoff(u64) β the UNIX timestamp; constraints older than this will be forgotten. periodt. β°
π¦ RETURN VALUE π¦
On success, an object comes back at you, containing:
layer(string) β the layer parameter you provided (it just echoes it right back, slay π )num_removed(u64) β the number of constraints removed from layer ποΈβ¨
π AUTHOR π
Rusty Russell rusty@rustcorp.com.au is mainly responsible. main character energy fr fr π
π SEE ALSO π
go read those too, iykyk π§
β RESOURCES β
Main web site: https://github.com/ElementsProject/lightning β go click around, it's giving home base π π
π EXAMPLES π
Example 1: β¨
Request:
$ lightning-cli askrene-age -k "layer"="test_layers" "cutoff"=1738000000
{
"id": "example:askrene-age#1",
"method": "askrene-age",
"params": {
"layer": "test_layers",
"cutoff": 1738000000
}
}
Response:
{
"layer": "test_layers",
"num_removed": 1
}
one constraint gone, one layer updated, zero notes π π₯
and that's the whole vibe check bestie β this was LIGHTNING-ASKRENE-AGE(7) from Core Lightning v26.06.9, so go forth and expire those old constraints, you absolute icon π«Άππ
π¦ 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