Rusty Russell
a4287f99fd
lightningd: add --plugin-dir option to load directory full of plugins.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago
Christian Decker
3e1138951b
plugin: Add pointer to jsonrpc so we can add new methods
Signed-off-by: Christian Decker <@cdecker>
6 years ago
Christian Decker
b02861bfe1
plugin: Give each plugin their own log-prefix
There is no good naming just yet, so we just number them 1 to n.
6 years ago
Christian Decker
404352fc7e
plugin: Configure plugins once we've collected all cli options
6 years ago
Christian Decker
10338983a6
plugin: Add logs to plugin and add method to kill a plugin
Also includes some sanity checks for the results returned by the
plugin, such as ensuring that the ID is as expected and that we have
either an error or a real result.
6 years ago
Christian Decker
c71f4f3bd9
plugin: Add listconfigs stub for the --plugin option
6 years ago
Christian Decker
b6a1735929
plugin: Basic scaffolding for the plugin subsystem
6 years ago