2023-07-25 09:33:33 +09:30
lightning-showrunes -- Command to list previously generated runes
2023-07-21 10:55:45 +09:30
==================================================================
SYNOPSIS
--------
2023-07-25 09:33:33 +09:30
**showrunes** [*rune*]
2023-07-21 10:55:45 +09:30
DESCRIPTION
-----------
2023-07-25 09:33:33 +09:30
The **showrunes** RPC command either lists runes that we stored as we generate them (see lightning-createrune(7)) or decodes the rune given on the command line.
2023-07-21 10:55:45 +09:30
RETURN VALUE
------------
[comment]: # (GENERATE-FROM-SCHEMA-START)
On success, an object containing **runes** is returned. It is an array of objects, where each object contains:
- **rune** (string): Base64 encoded rune
- **unique\_id** (string): Unique id assigned when the rune was generated; this is always a u64 for commando runes
- **restrictions** (array of objects): The restrictions on what commands this rune can authorize:
- **alternatives** (array of objects):
- **fieldname** (string): The field this restriction applies to; see commando-rune(7)
- **value** (string): The value accepted for this field
- **condition** (string): The way to compare fieldname and value
- **english** (string): English readable description of this alternative
- **english** (string): English readable summary of alternatives above
- **restrictions\_as\_english** (string): English readable description of the restrictions array above
- **stored** (boolean, optional): This is false if the rune does not appear in our datastore (only possible when `rune` is specified) (always *false* )
- **blacklisted** (boolean, optional): The rune has been blacklisted; see commando-blacklist(7) (always *true* )
2023-09-14 12:10:41 +09:30
- **last\_used** (number, optional): The last time this rune was successfully used *(added 23.11)*
2023-07-21 10:55:45 +09:30
- **our\_rune** (boolean, optional): This is not a rune for this node (only possible when `rune` is specified) (always *false* )
[comment]: # (GENERATE-FROM-SCHEMA-END)
AUTHOR
------
Shahana Farooqui < < sfarooqui @blockstream .com > > is mainly responsible.
SEE ALSO
--------
2023-07-25 09:33:33 +09:30
lightning-commando-showrunes(7), lightning-blacklistrune(7)
2023-07-21 10:55:45 +09:30
RESOURCES
---------
Main web site: < https: / / github . com / ElementsProject / lightning >
2023-09-14 12:10:41 +09:30
[comment]: # ( SHA256STAMP:900e91777cd1e181c87a78913ab6f914585fcd99cd0dba16da19a81159f98aea)