107 Commits (db3f0ba965dfb6f42c8588dcb64bcb1e4c2ca5cb)

Author SHA1 Message Date
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) 6 years ago
Rusty Russell 52303029aa fundchannel: cap 'all' at 2^24-1 satoshi. 6 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 6 years ago
Rusty Russell 9e14d6cf04 Remove all JSON commands and fields deprecated before 0.6. 6 years ago
Rusty Russell ef33dd2998 jsonrpc: reduce debug log spam for JSON commands. 6 years ago
Christian Decker d6048de100 json-rpc: Shutdown the JSON-RPC in the context of a DB transaction 6 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 6 years ago
arowser 2eab1b66ff add alias and color to getinfo 6 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
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal. 7 years ago
Rusty Russell fe96fe10c7 Clean up network options. 7 years ago
Rusty Russell ed466a8523 lightningd: make explicit listen and reconnect flags. 7 years ago
Mark Beckwith 7767b68ee9 Removed redundancies in withdraw and fundchannel. 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Corné Plooy b857b2e843 Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 7 years ago
Corné Plooy f32ebb7dca Indentation fix. 7 years ago
Corné Plooy 1e879de89e json-rpc: connection_complete_ok and json_command_malformed should never receive NULL arguments. Pass "null" instead, where needed. 7 years ago
Corné Plooy d86ad15b53 json-rpc: translate NULL into "null" instead of "(null)". 7 years ago
practicalswift dbb7ea1e41 Adjust log level for logging disconnected RPC users ("Command failed after jcon close") 7 years ago