![]() |
![]()
| ![]() |
![]()
NAMElightning-blacklistrune -- Command to prevent a rune from working SYNOPSISblacklistrune [start [end]] [relist] DESCRIPTIONCommand added in v23.08. The blacklistrune RPC command allows you to effectively revoke the rune you have created (and any runes derived from that rune with additional restictions). Attempting to use these runes will be resulted in a Blacklisted rune error message. Destroy a rune like in olden times with the destroyrune command. All runes created by lightning have a unique sequential id within them and can be blacklisted in ranges for efficiency. The command always returns the blacklisted ranges on success. If no parameters are specified, no changes have been made. If start specified without end, that single rune is blacklisted. If end is also specified, every rune from start till end inclusive is blacklisted.
RETURN VALUEOn success, an object containing blacklist is returned. It is an array of objects, where each object contains:
AUTHORShahana Farooqui <sfarooqui@blockstream.com> is mainly responsible. SEE ALSOlightning-commando-blacklist(7), lightning-showrunes(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli blacklistrune -k "start"=1 { Response: { Example 2: Request: $ lightning-cli blacklistrune -k "start"=0 "end"=2 { Response: { Example 3: Request: $ lightning-cli blacklistrune -k "start"=3 "end"=4 { Response: { Example 4: This undoes the blacklisting of rune 3 only Request: $ lightning-cli blacklistrune -k "start"=3 "relist"=True { Response: {
|