mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
d492c74e3d
Rune functionality moved into core from commando plugin. Changelog-Added: JSON-RPC: `checkrune`: check rune validity for authorization; `createrune` to create/modify rune; `listrunes` to list existing runes; `blacklistrune` to revoke permission of rune Changelog-Deprecated: JSON-RPC: `commando-rune`, `commando-listrunes` and `commando-blacklist`. No-schema-diff-check
24 lines
610 B
JSON
24 lines
610 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"rune",
|
|
"unique_id"
|
|
],
|
|
"properties": {
|
|
"rune": {
|
|
"type": "string",
|
|
"description": "the resulting rune"
|
|
},
|
|
"unique_id": {
|
|
"type": "string",
|
|
"description": "the id of this rune: this is set at creation and cannot be changed (even as restrictions are added)"
|
|
},
|
|
"warning_unrestricted_rune": {
|
|
"type": "string",
|
|
"description": "A warning shown when runes are created with powers that could drain your node"
|
|
}
|
|
}
|
|
}
|