70 Commits (b17b05b8ae271d097d39ff24840d17f1f47e88be)

Author SHA1 Message Date
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
Rusty Russell 111d6df442 plugins: make log prefix the basename. 6 years ago
Rusty Russell eb03b33655 plugins: add and install built-in plugin dir, add clear and disable options. 6 years ago
Rusty Russell a4287f99fd lightningd: add --plugin-dir option to load directory full of plugins. 6 years ago
Christian Decker d7e94a9386 plugin: Iterate over the options from a plugin using the tok->size 6 years ago
Christian Decker b8a1445317 plugin: Make plugin_kill a printf-like function 6 years ago
Christian Decker e625fd7e82 plugin: Map results back to the incoming JSON-RPC request 6 years ago
Christian Decker 7c93cf00bb plugin: Dispatch incoming RPC calls to appropriate plugin 6 years ago
Christian Decker a0f6a82a0b plugin: Make memleak happy 6 years ago