28 Commits (b4605902781533a360500bbd689a6b18cf40ccb5)

Author SHA1 Message Date
Rusty Russell cc70b9c4ec wire: use common/bigsize routines 5 years ago
Rusty Russell 39e8e98b49 options: make option registration a single function. 6 years ago
Rusty Russell fb6870c139 param: implement helpers for multiplex commands. 6 years ago
Rusty Russell f1b57063f7 bitcoin/tx: use fromwire_fail in pull_bitcoin_tx. 6 years ago
Rusty Russell d817735dc2 lightningd: use ccan/json_out. 6 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
trueptolemy 96135dab5e log: add 'warning' notification when log 6 years ago
lisa neigut a4a193840f json: add a param parser for a txid 6 years ago
Rusty Russell 0b79538b18 lightningd: hang up on clients if they make us run out of memory. 6 years ago
Rusty Russell dc6d53e787 lightningd: don't bother pretty-printing JSON. 6 years ago
Rusty Russell b4455d517c common/node_id: new type. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 28ec65fd79 lightningd: add json_add_amount_msat and json_add_amount_sat helpers. 6 years ago
Rusty Russell 53423e8a55 lightningd: re-enable IO logging for JSON output. 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 e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 86c517ac9b common/json: add context arg to json_parse_input. 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
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 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Christian Decker c3f433ec66 json: Support streaming JSON messages 6 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Christian Decker 723b64036f jsonrpc: Pretty-print the json results 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
Rusty Russell 7ae013202f json: make json_add_string do partial escapes. 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
Rusty Russell 7f03e15e03 json_add_string_escape: for escaping internally-generated strings. 7 years ago
Björge Dijkstra 648e4feee2 Extend json unit test with tests for json_tok_bitcoin_amount() 7 years ago
Rusty Russell 112ae0d0f5 common/test/run-json: test JSON escaping. 7 years ago