-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libplugin: use json stream helpers and add sanity tests #3480
libplugin: use json stream helpers and add sanity tests #3480
Commits on Feb 5, 2020
-
libplugin: expose helpers to start and end a jsonrpc response
The usual json_stream starters and command_result enders.
Configuration menu - View commit details
-
Copy full SHA for ff0bfba - Browse repository at this point
Copy the full SHA ff0bfbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60e3c77 - Browse repository at this point
Copy the full SHA 60e3c77View commit details -
libplugin: use json_stream helpers for RPC calls
This adds helpers to start and send a jsonrpc request using json_stream in order to benefit from the helpers. This then simplifies existing plugins RPC requests by using json_stream helpers.
Configuration menu - View commit details
-
Copy full SHA for 15a2986 - Browse repository at this point
Copy the full SHA 15a2986View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9205764 - Browse repository at this point
Copy the full SHA 9205764View commit details -
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 !
Configuration menu - View commit details
-
Copy full SHA for bd18dd1 - Browse repository at this point
Copy the full SHA bd18dd1View commit details -
libplugin: fix 'dynamic' field in getmanifest
As a separated commit because it was pre-existent (changelog + xfail test). This also fix a logical problem in lightningd/plugin_control: we were assuming a plugin started with 'plugin start' but which did not comport a 'dynamic' entry in its manifest to be dynamic, though it should have been treated as static. Changelog-fixed: plugins: Dynamic C plugins can now be managed when lightningd is up
Configuration menu - View commit details
-
Copy full SHA for f9c198a - Browse repository at this point
Copy the full SHA f9c198aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25521ea - Browse repository at this point
Copy the full SHA 25521eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b86c84d - Browse repository at this point
Copy the full SHA b86c84dView commit details -
ccan: retrieve last updates to opt/
Co-authored-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3692159 - Browse repository at this point
Copy the full SHA 3692159View commit details -
lightningd/plugin: unregister a plugin's options when stopping it
This also remove the now duplicate plugin_hook_unregister_all(), added in the tal destructor of the struct plugin.
Configuration menu - View commit details
-
Copy full SHA for 77e7f0f - Browse repository at this point
Copy the full SHA 77e7f0fView commit details