243 Commits (83adb94583f0adcf4ef15bd62b994ea2533565b4)

Author SHA1 Message Date
Rusty Russell 3ba544bfde common/bolt11: use struct amount_msat 6 years ago
Rusty Russell 28ec65fd79 lightningd: add json_add_amount_msat and json_add_amount_sat helpers. 6 years ago
Rusty Russell a25e22737c common/json_tok: add param_msat / param_sat. 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
Rusty Russell 53423e8a55 lightningd: re-enable IO logging for JSON output. 6 years ago
Christian Decker ff0ddee56e json: Add utility to add a null-member 6 years ago
Christian Decker ca3db290ba plugin: Add `connected` hook 6 years ago
Rusty Russell b99293fbb6 short_channel_id: don't accept :-separated in JSON if --allow-deprecated-apis=false 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 dabdefefae jsonrpc: populate ld->jsonrpc ourselves, so we can use it. 6 years ago
Rusty Russell 1567238dd9 invoice: option to expose/not-expose private channels. 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Christian Decker 26f17e87a3 plugin: Add connect and disconnect notifications 6 years ago
Rusty Russell add822a072 jsonrpc: don't be coy with details for command_its_complicated(). 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct 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 d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 3f16c9a665 param: abstract 'struct command' so param doesn't need to access it. 6 years ago
Rusty Russell 86c517ac9b common/json: add context arg to json_parse_input. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell 6323cc1898 plugins: allow --dev-debugger=<pluginname>. 6 years ago
Christian Decker be7674ed6c plugin: Added .params.configuration to init call 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell 23540fe956 common: make funding_tx and withdraw_tx share UTXO code. 6 years ago
Rusty Russell a046af4416 lightningd/test: move some tests to common/ and channeld/ 6 years ago
Mark Beckwith 164c76454c test: add json_tok_remove unit tests 6 years ago
Rusty Russell eb03b33655 plugins: add and install built-in plugin dir, add clear and disable options. 6 years ago
Christian Decker 3e1138951b plugin: Add pointer to jsonrpc so we can add new methods 6 years ago
Christian Decker 83775e7cea jsonrpc: Split the jsonrpc object creation from starting to listen 6 years ago
Christian Decker 01c7bc5884 jsonrpc: Make an explicit jsonrpc struct 6 years ago
Rusty Russell 55306fc3eb onchaind: wire up dev_memleak. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Conor Scott 795bc1b3a7 [test] update test mocks for getinfo rpc update 6 years ago
Rusty Russell 3f5487e247 jsonrpc: dev_slowcmd, a command which starts output then delays. 6 years ago
Rusty Russell e17f69ce2d json_stream: disentangle JSON handling from command. 6 years ago
Christian Decker b02861bfe1 plugin: Give each plugin their own log-prefix 6 years ago
Christian Decker e6ef675ea1 plugin: Send the configure request once we collected all options 6 years ago
Christian Decker 10338983a6 plugin: Add logs to plugin and add method to kill a plugin 6 years ago
Christian Decker 8e83d43c39 opts: Split early from non-early args so plugins can register theirs 6 years ago
Christian Decker d0de6e59c6 plugin: Start each plugin and setup the connection to it 6 years ago
Christian Decker 59e37c12cd plugin: Add plugins to lightningd and register arguments 6 years ago
Rusty Russell 7eec2253e9 lightningd: fix up compile errors from bad merge. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell c403415caa lightningd: format JSON directly into json connection membuf. 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 12adcda370 test/run-param: don't reach into json_result to get the string. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago