50 Commits (d6ede8db1b29d1ff4ac0d1fcc1bc1b7f58ae055e)

Author SHA1 Message Date
darosior 3510c29e5d common: move json_stream helpers to common/json 5 years ago
fiatjaf 770789684c jsonrpc: Add json_add_preimage helper 5 years ago
Rusty Russell 997e3f7fe6 lightningd: move json_add_route into gossip_control.c and make static. 5 years ago
darosior dd10b543da lightningd/json: Add a json helper to append any jsmn token to a stream 5 years ago
trueptolemy 75e946d256 json: Move `param_bitcoin_address` from wallet/walletrpc.c to lightningd/json.c 5 years ago
trueptolemy 7db3f1b8a6 json: Rename `json_tok_address_scriptpubkey` to `json_to_address_scriptpubkey` 5 years ago
lisa neigut 19e65068a9 json: move param node_id parser to common 5 years ago
trueptolemy a9e346a1f4 json: Add the json interface for `struct sha256` 5 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 b4455d517c common/node_id: new type. 6 years ago
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