229 Commits (26f17e87a3de9bfcdead53b635c9bdadf71e2dfd)

Author SHA1 Message Date
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
lisa neigut b9331e5ac8 gossipd: parse and respect optional `htlc_maximum_msat` 6 years ago
Rusty Russell c8c3294a23 json-invoice: add routeboost, warnings. 6 years ago
Rusty Russell d1552bd1eb test/run-cryptomsg.c: move out of lightningd/ into common/ 6 years ago
Mark Beckwith 30b67c0334 param: call param() all the time 6 years ago
Mark Beckwith d91b94a812 param: add command mode 6 years ago
Christian Decker cf52b7161f json-rpc: Remove upper limit for percentage 6 years ago
Rusty Russell 76f116daf1 lightningd: minor cleanups 6 years ago
Rusty Russell 168bec0974 lightningd: move channel/peer/htlc load into own function. 6 years ago
Rusty Russell 3e53a63cf2 wallet: do wallet_invoice init during preparation. 6 years ago
Mark Beckwith ca40cfa0ce param: started adding callback unit tests 6 years ago
Mark Beckwith 8590dbedfb param: make json_tok_label non-static 6 years ago
Mark Beckwith 4f81cd3852 param: added json_tok_msat 6 years ago
Rusty Russell db3c387264 feerate: allow names 'urgent' 'normal' and 'slow'. 6 years ago
Rusty Russell e0952ceff2 feerate: use suffix, not separate argument. 6 years ago