78 Commits (1a3886c1168588a0d97be5e78f291fdd91743f80)

Author SHA1 Message Date
darosior a6753fd812 Plugins: accept options of different types 6 years ago
darosior 5b0bf0ba1f jsonrpc: allow to set the command category plugin side 6 years ago
Rusty Russell 8f9c48254b plugins: do I/O logging. 6 years ago
ZmnSCPxj 8ecc6c7743 lightningd/plugin.c: Do not call `closedir` with NULL DIR*. 6 years ago
Rusty Russell 8b2a84a0c7 plugins: don't hand empty strings for unset options. 6 years ago
darosior a497295f92 Add a default 'plugins' directory in the lightning dir 6 years ago
Rusty Russell 3729ad9914 plugin: plugin_exclusive_loop helper to service one plugin synchronously. 6 years ago
lisa neigut f48fe03815 plugins: patch in empty string when no default given 6 years ago
Michael Schmoock 6f71564bdd fix: missing closedir in plugin.c 6 years ago
Rusty Russell e3bdc32ee8 plugin: give *some* clue in the logs of getmanifest raises an exception! 6 years ago
Rusty Russell 53423e8a55 lightningd: re-enable IO logging for JSON output. 6 years ago
Richard Bondi 503360143a fix crash with lightning charge and plugin opts (#2358) 6 years ago
Rusty Russell 53c0a21d2c plugins: get usage from plugins (required unless deprecated_apis == True). 6 years ago
Rusty Russell 5770e0c700 jsonrpc: probe sites for usage information once, at start. 6 years ago
Rusty Russell c506d42679 plugins: don't keep redundant jsonrpc pointer. 6 years ago
Rusty Russell cc76416447 jsonrpc: use tal destructor to remove json commands when required. 6 years ago
Christian Decker c78d7e0f95 plugin: Increase manifest timeout to 60 seconds 6 years ago
Christian Decker a2fa0788fc plugin: Remove plugin_request_new and expose plugin_request_send 6 years ago
Christian Decker b8584a744b plugin: Add hooks that a plugin might register 6 years ago
Christian Decker ff897f8788 jsonrpc: Generalize plugin_request to jsonrpc_request 6 years ago
Christian Decker 1a952667ee plugin: Remove plugin_request argument from callbacks 6 years ago
Conor Scott 3d270fcca6 Skip README.md when reading in plugins dir 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Christian Decker 5813567856 plugin: Dispatch notifications to subscribed plugins 6 years ago
Christian Decker 37b2f907d4 plugin: Make plugin_send a more generic function 6 years ago
Christian Decker 7355e62964 plugin: Add subscriptions when processing the plugin manifest 6 years ago
Richard Bondi 9ca07728ad fix crash on check with plugin command 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell 22ca896b54 json: add and use a json_strdup() helper. 6 years ago
Christian Decker 2c53572798 plugin: Add missing context to tal_fmt call on error message 6 years ago
Christian Decker 968aeac908 plugin: Set LIGHTNINGD_PLUGIN env var inform plugins 6 years ago
Christian Decker a304db9be2 plugin: Handle log notifications from plugins 6 years ago
Christian Decker dc25c43945 plugin: Split the parsing from the request handling in the plugin 6 years ago
Christian Decker 2834053457 plugin: Fix an issue with string IDs ending up quoted twice 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 86c517ac9b common/json: add context arg to json_parse_input. 6 years ago
Rusty Russell b3d30095cb lightningd/plugin: simply patch requests through and don't interpret them (much). 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell f653723a85 plugin: log response given by plugin if it's invalid JSON. 6 years ago
Rusty Russell fbeef504f5 plugin: preserve stderr for plugins. 6 years ago
Rusty Russell 6da213be31 ccan: update to get updated pipecmd. 6 years ago
Rusty Russell 6323cc1898 plugins: allow --dev-debugger=<pluginname>. 6 years ago
Rusty Russell b484933b40 plugin: simplify plugin dir test a little. 6 years ago
Christian Decker be7674ed6c plugin: Added .params.configuration to init call 6 years ago
Christian Decker bd6ce102e6 plugin: Better cleanup when a plugin fails 6 years ago
Christian Decker b23a33ec7a jsonrpc: Use tal_arr_remove instead of leaving NULL in the commands 6 years ago
Christian Decker 230730eca4 plugin: Migrate request creation to json_stream 6 years ago
Christian Decker dc4fb650dc plugin: Add a timeout to the `getmanifest` call 6 years ago
Christian Decker 83ecb61890 plugin: Ignore directories in the plugin-directory 6 years ago