mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 16:44:20 +01:00
JSON-RPC: getmanifest passes allow-deprecated-apis flag.
This allows plugins to choose how to present things in getmanifest. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: plugins: `getmanifest` may now include "allow-deprecated-apis" boolean flag. Changelog-Deprecated: plugins: `getmanifest` without any parameters; plugins should accept any parameters for future use.
This commit is contained in:
@@ -57,9 +57,10 @@ interface.
|
||||
|
||||
### The `getmanifest` method
|
||||
|
||||
The `getmanifest` method is required for all plugins and will be called on
|
||||
startup without any params. It MUST return a JSON object similar to
|
||||
this example:
|
||||
The `getmanifest` method is required for all plugins and will be
|
||||
called on startup with optionsl parameters (in particular, it may have
|
||||
`allow-deprecated-apis: false`, but you should accept others). It
|
||||
MUST return a JSON object similar to this example:
|
||||
|
||||
```json
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user