72 Commits (32a1b782f3121e31d4af25aeb2ee5917c55fffca)

Author SHA1 Message Date
lisa neigut 19e65068a9 json: move param node_id parser to common 5 years ago
Rusty Russell acf3952acc JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids. 5 years ago
trueptolemy a9e346a1f4 json: Add the json interface for `struct sha256` 5 years ago
lisa neigut eb0b3d7b09 json: correct error message for param parser 6 years ago
Rusty Russell 7f75043ab2 lightningd: tighten interal json_stream API. 6 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
Christian Decker c91483f605 json: Add wrapper to add a secret to a JSON result 6 years ago
trueptolemy 231703cc7f plugin: Add new notification type: warning 6 years ago
Rusty Russell 7e02fbe6ec lightningd: add json_add_tx helper. 6 years ago
lisa neigut a4a193840f json: add a param parser for a txid 6 years ago
Christian Decker 80b3d8aef3 json: Add some more methods to add integers of various size to json 6 years ago
Rusty Russell 401bd9f8ef json: rename json_add_amount_sat to json_add_amount_sat_compat. 6 years ago
Christian Decker 06f090c6a5 json: Add timestampt primitives to print timestamps in results 6 years ago
Rusty Russell 4811024518 lightingd: optimize json_add_short_channel_id a little. 6 years ago
Rusty Russell 465065691f json_add_hex: wire in at a lower level. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell b4455d517c common/node_id: new type. 6 years ago
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 6 years ago
Rusty Russell 83adb94583 lightningd and routing: use struct amount_msat. 6 years ago
Rusty Russell 2632cc3f34 lightningd/json: make wallet_tx functions take amount_sat. 6 years ago
Rusty Russell 3ba544bfde common/bolt11: use struct amount_msat 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 b99293fbb6 short_channel_id: don't accept :-separated in JSON if --allow-deprecated-apis=false 6 years ago
Rusty Russell a45a62aff6 lightningd: move pay internals back into pay.c 6 years ago
Rusty Russell e2777642c0 getroute: add direction to route returned. 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 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 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 8600ba403c wireaddr: remove handling for addr->type == ADDR_TYPE_PADDING 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 8238fe6acf common/json: only maintain array of nested types if DEVELOPER mode. 6 years ago
Rusty Russell 20bed28759 jsonrpc: use empty flag instead of examining the tail of the JSON. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Christian Decker cf52b7161f json-rpc: Remove upper limit for percentage 6 years ago
Mark Beckwith 721f77f528 param: feedback fixes 6 years ago
Mark Beckwith 30e6471fc1 param: listpayments now uses json_tok_sha256 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
Mark Beckwith a79e64c0a0 param: consistent callback format 6 years ago