121 Commits (a046af4416371a150dd293215ad96c8791e7687e)

Author SHA1 Message Date
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
Rusty Russell 03e7be5bce json_connection: keep pointer to the conn. 6 years ago
Rusty Russell f4a2c4f8bb jsonrpc: helper to move an existing io_write. 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 39f0dfb664 jsonrpc: use ccan/membuf instead of a string for our output buffer. 6 years ago
Rusty Russell e9fcd120f8 jsonrpc: fix reading of multiple commands. 6 years ago
Rusty Russell ce0bd7abd3 jsonrpc: only allow a single command at a time. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Rusty Russell 604638712b jsonrpc: Only show total fees collected in getinfo. 6 years ago
Christian Decker 6b7546b94d json-rpc: Rename `getroutestats` and move stats to getinfo 6 years ago
Rusty Russell f6b0f794b2 jsonrpc: fix crash on bad JSON input. 6 years ago
Christian Decker b86edf3cf1 jsonrpc: Simple demonstration on how jcon can be locked for streams 6 years ago
William Casarin cc4357f0a6 rpc: add json_add_help_command for help command objects 6 years ago
lisa neigut 45b07e7e89 jsonrpc: fix cppcheck warning for potential null pointer deref 6 years ago
Mark Beckwith cbde3e20f7 cli: help command now also prints usage 6 years ago
Mark Beckwith 1a4f355a7b param: add ok flag to struct command 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
Rusty Russell 76f116daf1 lightningd: minor cleanups 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith 6254d15efd param: upgraded json_tok_sha256 6 years ago
Mark Beckwith 2a0c2601c0 param: upgraded json_tok_newaddr 6 years ago
Mark Beckwith bab8ff991a param: upgraded json_tok_u64 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Mark Beckwith 1fca7ab562 Added json_tok_sha256 (#1779) 7 years ago
Rusty Russell 52303029aa fundchannel: cap 'all' at 2^24-1 satoshi. 7 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 7 years ago
Rusty Russell 9e14d6cf04 Remove all JSON commands and fields deprecated before 0.6. 7 years ago
Rusty Russell ef33dd2998 jsonrpc: reduce debug log spam for JSON commands. 7 years ago
Christian Decker d6048de100 json-rpc: Shutdown the JSON-RPC in the context of a DB transaction 7 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 7 years ago
arowser 2eab1b66ff add alias and color to getinfo 7 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
Rusty Russell af065417e1 gossipd: handle wildcard addresses correctly. 7 years ago