|
| 1 | +lightning-commando-listrunes -- Command to list previously generated runes |
| 2 | +========================================================================== |
| 3 | + |
| 4 | +SYNOPSIS |
| 5 | +-------- |
| 6 | + |
| 7 | +**commando-listrunes** [*rune*] |
| 8 | + |
| 9 | +DESCRIPTION |
| 10 | +----------- |
| 11 | + |
| 12 | +The **commando-listrunes** RPC command either lists runes that we stored as we generate them (see lightning-commando-rune(7)) or decodes the rune given on the command line. |
| 13 | + |
| 14 | +NOTE: Runes generated prior to v23.05 were not stored, so will not appear in this list. |
| 15 | + |
| 16 | +RETURN VALUE |
| 17 | +------------ |
| 18 | + |
| 19 | +[comment]: # (GENERATE-FROM-SCHEMA-START) |
| 20 | +On success, an object containing **runes** is returned. It is an array of objects, where each object contains: |
| 21 | + |
| 22 | +- **rune** (string): Base64 encoded rune |
| 23 | +- **unique\_id** (string): Unique id assigned when the rune was generated; this is always a u64 for commando runes |
| 24 | +- **restrictions** (array of objects): The restrictions on what commands this rune can authorize: |
| 25 | + - **alternatives** (array of objects): |
| 26 | + - **fieldname** (string): The field this restriction applies to; see commando-rune(7) |
| 27 | + - **value** (string): The value accepted for this field |
| 28 | + - **condition** (string): The way to compare fieldname and value |
| 29 | + - **english** (string): English readable description of this alternative |
| 30 | +- **restrictions\_as\_english** (string): English readable description of the restrictions array above |
| 31 | +- **stored** (boolean, optional): This is false if the rune does not appear in our datastore (only possible when `rune` is specified) (always *false*) |
| 32 | +- **blacklisted** (boolean, optional): The rune has been blacklisted; see commando-blacklist(7) (always *true*) |
| 33 | +- **our\_rune** (boolean, optional): This is not a rune for this node (only possible when `rune` is specified) (always *false*) |
| 34 | + |
| 35 | +[comment]: # (GENERATE-FROM-SCHEMA-END) |
| 36 | + |
| 37 | +AUTHOR |
| 38 | +------ |
| 39 | + |
| 40 | +Shahana Farooqui < <[email protected]>> is mainly responsible. |
| 41 | + |
| 42 | +SEE ALSO |
| 43 | +-------- |
| 44 | + |
| 45 | +lightning-commando-rune(7), lightning-commando-blacklist(7) |
| 46 | + |
| 47 | +RESOURCES |
| 48 | +--------- |
| 49 | + |
| 50 | +Main web site: <https://github.com/ElementsProject/lightning> |
| 51 | + |
| 52 | +[comment]: # ( SHA256STAMP:dd70c3640c0ffcc7e15fb5dc0fbaa7c28a1abcd6bacb46f9b16d94a4b2ec74d0) |
0 commit comments