33 Commits (issue-2080)

Author SHA1 Message Date
Rusty Russell 2632cc3f34 lightningd/json: make wallet_tx functions take amount_sat. 6 years ago
Rusty Russell 28ec65fd79 lightningd: add json_add_amount_msat and json_add_amount_sat helpers. 6 years ago
Christian Decker ff0ddee56e json: Add utility to add a null-member 6 years ago
Rusty Russell a45a62aff6 lightningd: move pay internals back into pay.c 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 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 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
Mark Beckwith 47510a8e74 param: added json_tok_string 6 years ago
Mark Beckwith 0b26a17a0f param: added json_tok_array 6 years ago
Mark Beckwith aa60057134 param: upgraded json_tok_escaped_string 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
Mark Beckwith c553bba7a8 param: getroute fuzz now uses json_tok_percent 6 years ago
Rusty Russell e0952ceff2 feerate: use suffix, not separate argument. 6 years ago
Rusty Russell e2d4b7cc8d cleanup: extract and formalize feerate conversion. 6 years ago
Mark Beckwith 1fb203891d param: upgraded json_tok_short_channel_id 6 years ago
Mark Beckwith 9b28ecf8fc param: upgraded json_tok_pubkey 6 years ago
Mark Beckwith 6254d15efd param: upgraded json_tok_sha256 6 years ago
Mark Beckwith 8ebc95b7b0 param: upgraded json_tok_bool 6 years ago
Mark Beckwith e5918f4e5a param: upgraded json_tok_double 6 years ago
Mark Beckwith bab8ff991a param: upgraded json_tok_u64 6 years ago
Mark Beckwith 294dc06de9 param: upgraded json_tok_number 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal. 7 years ago
ZmnSCPxj e588737511 peer_control: Have `close` accept channel IDs also. 7 years ago
practicalswift a4059ef83e Use expected LIGHTNING_DIR_FILE_H define 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago