Rusty Russell
44f6b8a746
pytest: add notifications to tests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
Rusty Russell
fc097b8b48
libplugin: allow commands and options to mark themselves deprecated.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
Christian Decker
eb322b114b
plugin: Do not automatically initialize the RPC connection in bcli
Changelog-Fixed: plugin: `bcli` no longer logs a harmless warning about being unable to connect to the JSON-RPC interface.
Changelog-Added: plugin: Plugins can opt out of having an RPC connection automatically initialized on startup.
5 years ago
Rusty Russell
cfb320c972
wire: move remaining bitcoin functions out to bitcoin/ files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
5 years ago
Christian Decker
e03acd9663
libplugin: Add features to plugin_main and getmanifest
5 years ago
darosior
84e3fa39b3
pytest: test libplugin's send_outreq
5 years ago
darosior
75becf7227
pytest: test hooks and notifications with libplugin
5 years ago
darosior
da476848d1
pytest: add a C testing plugin to test libplugin
We mark the test as xfail() as it exposes that libplugin's PLUGIN_RESTARTABLE
was not taken into account !
5 years ago