lightning-commando-blacklist

lightning-commando-blacklist -- Command to prevent a rune from working

SYNOPSIS

commando-blacklist [start [end]]

DESCRIPTION

Command deprecated in v23.08, removed after v25.02.

Command added in v23.05.

The commando-blacklist 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.

All runes created by commando 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.

  • start (u64, optional): First rune unique id to blacklist.
  • end (u64, optional): Final rune unique id to blacklist (defaults to start).

RETURN VALUE

On success, an object containing blacklist is returned. It is an array of objects, where each object contains:

  • start (u64): Unique id of first rune in this blacklist range.
  • end (u64): Unique id of last rune in this blacklist range.

AUTHOR

Shahana Farooqui <[email protected]> is mainly responsible.

SEE ALSO

lightning-commando-listrunes(7)

RESOURCES

Main web site: https://github.com/ElementsProject/lightning

EXAMPLES

Example 1:

Request:

lightning-cli commando-blacklist -k "start"=1
{
  "id": "example:commando-blacklist#1",
  "method": "commando-blacklist",
  "params": {
    "start": 1
  }
}

Response:

{
  "blacklist": [
    {
      "start": 1,
      "end": 1
    }
  ]
}

Example 2:

Request:

lightning-cli commando-blacklist -k "start"=2 "end"=3
{
  "id": "example:commando-blacklist#2",
  "method": "commando-blacklist",
  "params": {
    "start": 2,
    "end": 3
  }
}

Response:

{
  "blacklist": [
    {
      "start": 1,
      "end": 3
    }
  ]
}

Core Lightning (previously c-lightning) is a lightweight, highly customizable and standard compliant implementation of the Lightning Network protocol.

© 2023 Core Lightning
All rights reserved.

Discussion Forum

The official Core Lightning forum is hosted at discuss.corelightning.org

BuildonL2 Community

The official BuildOnL2 community lives at community.corelightning.org. Join us and build the future of bitcoin on lightning.

Mailing List

For general discussions about CLN implementation, use [email protected]. For the Lightning Network, use [email protected]

Telegram

Community-driven telegram group where most of the node operators hang out. Go to https://t.me/lightningd to join.

Discord

Community-driven discord server where the devs flock together. Go to https://discord.gg/w27fMFESMN to join.

Internet Relay Chat

Don't hesitate to reach out to us on IRC at #lightning-dev @ libera.chat, #c-lightning @ libera.chat.