LIGHTNING-ASKRENE-LISTRESERVATIONS(7)

πŸ“¦
version 26.06.9 Β· 2 versions
, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is lightning-askrene-listreservations(7) β€” the manual page β€” and it's literally just a command that displays information about reservations ✨


πŸŽ€ SYNOPSIS πŸŽ€

askrene-listreservations

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie, this command was added in v24.11 β€” so it's not ancient, she's new here πŸ‘‘

The askrene-reservations RPC command reports outstanding reservations made with askrene-reserve, mainly for debugging. that's it, that's the whole vibe. it's a peek-behind-the-curtain situation 🫢


⭐ RETURN VALUE ⭐

On success, an object containing reservations is returned. it's an array of objects, and each object contains:

  • short_channel_id_dir (short_channel_id_dir) β€” the channel and direction that is reserved πŸ’«
  • amount_msat (msat) β€” the amount reserved πŸ’Έ
  • age_in_seconds (u64) β€” the age of this reservation ⏳
  • command_id (string) β€” the JSON id of the command used to make the reservation πŸ”

πŸ‘‘ AUTHOR πŸ‘‘

Rusty Russell rusty@rustcorp.com.au is mainly responsible. icon behavior, fr fr 🌈


🌸 SEE ALSO 🌸


🧚 RESOURCES 🧚

Main web site: https://github.com/ElementsProject/lightning β€” go touch grass in the repo, iykyk πŸ’œ


✨ EXAMPLES ✨

Example 1:

Request:

$ lightning-cli askrene-listreservations
{
  "id": "example:askrene-listreservations#1",
  "method": "askrene-listreservations",
  "params": {}
}

Response:

{
  "reservations": [
    {
      "short_channel_id_dir": "109x1x1/1",
      "amount_msat": 1250000,
      "age_in_seconds": 2,
      "command_id": "\"-c:askrene-reserve#62/cln:askrene-reserve#122\""
    },
    {
      "short_channel_id_dir": "123x1x1/0",
      "amount_msat": 1250001,
      "age_in_seconds": 2,
      "command_id": "\"-c:askrene-reserve#62/cln:askrene-reserve#122\""
    },
    {
      "short_channel_id_dir": "109x1x1/1",
      "amount_msat": 1250000000000,
      "age_in_seconds": 2,
      "command_id": "\"-c:askrene-reserve#66/cln:askrene-reserve#126\""
    },
    {
      "short_channel_id_dir": "123x1x1/0",
      "amount_msat": 1250000000000,
      "age_in_seconds": 2,
      "command_id": "\"-c:askrene-reserve#66/cln:askrene-reserve#126\""
    }
  ]
}

that's the whole page, bestie, no crumbs left πŸ“ this was Core Lightning v26.06.9, the LIGHTNING-ASKRENE-LISTRESERVATIONS(7) of all time β€” mwah, go reserve something responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from