109 Commits (a56f2b25b0cb1b1c19801806d845f4565591521f)

Author SHA1 Message Date
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
Christian Decker bf89d86ba8 plugin: Plugins need a list of methods they registered 6 years ago
Christian Decker a71208b2a0 plugin: Remove added JSON-RPC methods if a plugin gets killed 6 years ago
Christian Decker 7de4c40b77 plugin: Add plugin rpcmethods to the JSON-RPC interface 6 years ago
Christian Decker 3e1138951b plugin: Add pointer to jsonrpc so we can add new methods 6 years ago
Christian Decker a4ded47d34 plugin: Fix memory leak when requests are done 6 years ago
arowser 3ba751797b add needed include file 6 years ago
Christian Decker da465f0fdd plugin: Exit if we fail to start a plugin 6 years ago
Christian Decker b02861bfe1 plugin: Give each plugin their own log-prefix 6 years ago
Christian Decker 74c58e9f25 docs: Add an initial draft of the plugin documentation 6 years ago
Christian Decker 805a76a97f plugin: Make the plugins a list 6 years ago
Christian Decker 775e4b784d plugin: Get rid of redundant stdin and stdout members 6 years ago