204 Commits (bb15d7f0429778bcb542a6e509840cbc0fbad4e3)

Author SHA1 Message Date
darosior 323adb467a jsonrpc: Add a category field to commands. 6 years ago
Simon Vrouwe db57d9c5d2 lightningd: suppress IO_OUT logging for getlog command 6 years ago
darosior f65eecee27 Rpc: sort help output by command name 6 years ago
Christian Decker 7c3e441cc8 json-rpc: Use chainparams when parsing bech32 addresses 6 years ago
Christian Decker aa9284eaa3 base58: Simplified the address parsing 6 years ago
Rusty Russell 2632cc3f34 lightningd/json: make wallet_tx functions take amount_sat. 6 years ago
Rusty Russell 53423e8a55 lightningd: re-enable IO logging for JSON output. 6 years ago
Rusty Russell 5770e0c700 jsonrpc: probe sites for usage information once, at start. 6 years ago
Rusty Russell dabdefefae jsonrpc: populate ld->jsonrpc ourselves, so we can use it. 6 years ago
Rusty Russell cc76416447 jsonrpc: use tal destructor to remove json commands when required. 6 years ago
Rusty Russell da355284de jsonrpc: help, even for a single item, should be in an array. 6 years ago
Christian Decker 5d05694920 json-rpc: Remove double-quoting on errors in JSON-RPC 6 years ago
Christian Decker ff897f8788 jsonrpc: Generalize plugin_request to jsonrpc_request 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 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
Rusty Russell add822a072 jsonrpc: don't be coy with details for command_its_complicated(). 6 years ago
Rusty Russell e5c61fcb0c jsonrpc: plumb through dispatch result to avoid 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 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 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
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 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 86c517ac9b common/json: add context arg to json_parse_input. 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 aee2197a66 jsonrpc: make sure even errors are valid json. 6 years ago
Mark Beckwith 70707bf767 rpc: add check command 6 years ago
Mark Beckwith 542f529ed1 param: add support for unused parameters 6 years ago
Christian Decker b23a33ec7a jsonrpc: Use tal_arr_remove instead of leaving NULL in the commands 6 years ago
Christian Decker a71208b2a0 plugin: Remove added JSON-RPC methods if a plugin gets killed 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
Conor Scott dd27205ba2 [rpc] move getinfo implementation to peer_control.c 6 years ago
Rusty Russell 8a246e2c0a jsonrpc: provide overview of how this all connects together. 6 years ago
Rusty Russell 3f5487e247 jsonrpc: dev_slowcmd, a command which starts output then delays. 6 years ago
Rusty Russell e0d14bddb9 jsonrpc: allow multiple commands at once. 6 years ago
Rusty Russell f9fd802147 jsonrpc: make struct json_connection definition private. 6 years ago
Rusty Russell 47d2a71ef0 json.c and jsonrpc.c: move functions between them. 6 years ago
Rusty Russell e17f69ce2d json_stream: disentangle JSON handling from command. 6 years ago
Rusty Russell b2378654d7 jsonrpc: add double '\n' to end of JSON RPC commands. 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