Christian Decker
643480cfd8
pylightning: Migrate the test plugin to use the new wrapper
Should be a lot easier to see what happens :-)
Signed-off-by: Christian Decker <decker.christian@gmail.com>
6 years ago
Christian Decker
a304db9be2
plugin: Handle log notifications from plugins
Logs are parsed and injected into the main daemon's logs.
Signed-off-by: Christian Decker <decker.christian@gmail.com>
6 years ago
Christian Decker
f5a3f1f0a2
plugin: Add a test for timeout and broken manifest
Both of these plugins will fail in interesting ways, and we should
still handle them correctly.
Signed-off-by: Christian Decker <decker.christian@gmail.com>
6 years ago
Rusty Russell
eb03b33655
plugins: add and install built-in plugin dir, add clear and disable options.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago
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
1d75a70995
pytest: Add a test for the JSON-RPC passthrough
Tests JSON-RPC registration, as well as success and failures.
Signed-off-by: Christian Decker <decker.christian@gmail.com>
6 years ago
Christian Decker
879f9b7986
plugin: Make a common directory of plugins in contrib
No need to create a directory each.
Signed-off-by: Christian Decker <@cdecker>
6 years ago
Christian Decker
e27b2ea69b
pytest: Add a test for the plugin option passthrough
Signed-off-by: Christian Decker <@cdecker>
6 years ago