mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd/plugin: Add a 'dynamic' field to getmanifest and a 'startup' field to init
This lets a plugin specify whether it can be restarted, and to know if it is started at lightningd startup
This commit is contained in:
@@ -21,6 +21,8 @@ struct plugin {
|
||||
struct plugins *plugins;
|
||||
const char **plugin_path;
|
||||
bool configured;
|
||||
/* If this plugin can be restarted without restarting lightningd */
|
||||
bool dynamic;
|
||||
|
||||
/* Stuff we read */
|
||||
char *buffer;
|
||||
|
||||
Reference in New Issue
Block a user