lightningd/plugin_control: add a 'plugin' command

This adds a new pair of files : lightningd/plugin_control, along with a new RPC
command : 'plugin'. This command can be used to manage plugins without restarting lightningd:

lightning-cli plugin start helloworld.py
lightning-cli plugin stop helloworld.py
This commit is contained in:
darosior
2019-06-29 13:47:48 +02:00
committed by Rusty Russell
parent d299420fbe
commit 2864b4de01
4 changed files with 147 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#ifndef LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H
#define LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H
#include "config.h"
#include <lightningd/lightningd.h>
#endif /* LIGHTNING_LIGHTNINGD_PLUGIN_CONTROL_H */