GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LIGHTNING-DEPRECATIONS(7) LIGHTNING-DEPRECATIONS(7)

lightning-deprecations -- Command to enable/disable deprecated APIs

deprecations enable

Command added in v24.02.

The deprecations RPC command is used to override global config option allow-deprecated-apis for further RPC commands on this same connection. This can be useful for developer testing to ensure you don't accidentally rely on deprecated features.

enable (boolean): Flag to enable or disable deprecated APIs. Setting it to false will neither accept deprecated parameters or commands, nor output deprecated fields.

On success, an empty object is returned.

On failure, one of the following error codes may be returned:

-32602: Error in given parameters.

Rusty Russell <rusty@blockstream.com> wrote the initial version of this man page.

lightningd-config(5), lightning-notifications(7)

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

Example 1:

Request:

$ lightning-cli deprecations -k "enable"=True

{

"id": "example:deprecations#1",
"method": "deprecations",
"params": {
"enable": true
} }

Response:

{}

Example 2:

Request:

$ lightning-cli deprecations -k "enable"=False

{

"id": "example:deprecations#2",
"method": "deprecations",
"params": {
"enable": false
} }

Response:

{}
Core Lightning v25.02.2

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.