2024-01-15 22:35:14 +01:00
|
|
|
{
|
|
|
|
"$schema": "../rpc-schema-draft.json",
|
|
|
|
"type": "object",
|
|
|
|
"rpc": "stop",
|
|
|
|
"title": "Command to shutdown the Core Lightning node.",
|
|
|
|
"description": [
|
|
|
|
"The **stop** is a RPC command to shut off the Core Lightning node."
|
|
|
|
],
|
|
|
|
"request": {
|
|
|
|
"required": [],
|
2024-10-30 00:08:42 +01:00
|
|
|
"additionalProperties": false,
|
2024-01-15 22:35:14 +01:00
|
|
|
"properties": {}
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"required": [
|
|
|
|
"result"
|
|
|
|
],
|
2024-10-30 00:08:42 +01:00
|
|
|
"additionalProperties": false,
|
2024-01-15 22:35:14 +01:00
|
|
|
"properties": {
|
|
|
|
"result": {
|
|
|
|
"type": "string",
|
|
|
|
"added": "v24.05",
|
|
|
|
"enum": [
|
|
|
|
"Shutdown complete"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-06-20 23:57:02 +02:00
|
|
|
"author": [
|
|
|
|
"Vincenzo Palazzo <<vincenzo.palazzo@protonmail.com>> wrote the initial version of this man page,",
|
|
|
|
"but many others did the hard work of actually implementing this rpc command."
|
|
|
|
],
|
|
|
|
"resources": [
|
|
|
|
"Main web site: <https://github.com/ElementsProject/lightning>"
|
|
|
|
],
|
|
|
|
"examples": [
|
2024-01-15 22:35:14 +01:00
|
|
|
{
|
2024-03-28 02:45:18 +01:00
|
|
|
"request": {
|
|
|
|
"id": "example:stop#1",
|
|
|
|
"method": "stop",
|
|
|
|
"params": {}
|
|
|
|
},
|
|
|
|
"response": {
|
|
|
|
"result": "Shutdown complete"
|
|
|
|
}
|
2024-01-15 22:35:14 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|