1772 Commits (69953bcb2a6c00619f09ad54663cdcea4fc1a558)

Author SHA1 Message Date
Christian Decker 26f17e87a3 plugin: Add connect and disconnect notifications 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 dd2696a88b json: Add function to duplicate a json_stream 6 years ago
Christian Decker 7355e62964 plugin: Add subscriptions when processing the plugin manifest 6 years ago
Christian Decker 9ad2f57e46 jsonrpc: Create a struct for notifications that we send 6 years ago
lisa neigut b2ee53fd89 lightning-cli: add jsonrpc version to cmd json packet 6 years ago
Mark Beckwith bcde9675e4 Handle SIGINT and SIGTERM for PID 1 6 years ago
Richard Bondi 9ca07728ad fix crash on check with plugin command 6 years ago
Rusty Russell add822a072 jsonrpc: don't be coy with details for command_its_complicated(). 6 years ago
Rusty Russell 26484b8aa5 memdump: rearrange order to avoid command_its_complicated(). 6 years ago
Rusty Russell e5c61fcb0c jsonrpc: plumb through dispatch result to avoid command_its_complicated(). 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell 1ede7bc55b wallet_tx: make wtx_select_utxos return command_result. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell 93bf7c4839 param: make command sinks (fail/success) return a special type. 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
Rusty Russell 3773251d4e jsonrpc: mark all JSONRPC connections as notleak. 6 years ago
Rusty Russell db58d089e2 jsonrpc: use tal_arr_remove(). 6 years ago
Rusty Russell 0a3b38fb20 jsonrpc: fix leak. 6 years ago
Christian Decker 4c9e07eca5 opts: Fix crossed wires in autocleaninvoice options 6 years ago
Rusty Russell c4ffec57b4 log: play back prior log entries when opening log. 6 years ago
Rusty Russell a3a5ba5f21 options: set log-level and log-prefix early. 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
Rusty Russell 72b68845ca commit_tx: make fee msat vs sat explicit. 6 years ago
Rusty Russell 31a375af53 lightningd: add runtime checking for all system-provided libs. 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
Rusty Russell 881c3893e6 channeld: get local peer features from lightningd. 6 years ago
Rusty Russell 19ecf8c6fb disconnect: add force option to disconnect even with a live channel. 6 years ago
Christian Decker 2834053457 plugin: Fix an issue with string IDs ending up quoted twice 6 years ago
Mark Beckwith 816840e9c4 rpc: check error now consistent with lightning-cli 6 years ago
Rusty Russell 001e215064 check: rename returned result to match incoming, remove redundant 'parameters': 'OK'. 6 years ago
Rusty Russell 1368ac7f3c lightningd: only initialize plugins once we're ready for them to connect. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell c28cbf4a61 jsonrpc: remove ok pointer. 6 years ago
Rusty Russell 3f16c9a665 param: abstract 'struct command' so param doesn't need to access it. 6 years ago
Rusty Russell 061938068f json: rename json_tok_bitcoin_amount. 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 10260e2f24 lightningd: expose lower-level APIs. 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