![]() |
![]()
| ![]() |
![]()
NAMElightning-deprecations -- Command to enable/disable deprecated APIs SYNOPSISdeprecations enable DESCRIPTIONCommand 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.
RETURN VALUEOn success, an empty object is returned. ERRORSOn failure, one of the following error codes may be returned:
AUTHORRusty Russell <rusty@blockstream.com> wrote the initial version of this man page. SEE ALSOlightningd-config(5), lightning-notifications(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli deprecations -k "enable"=True { Response: {} Example 2: Request: $ lightning-cli deprecations -k "enable"=False { Response: {}
|