122 Commits (aa00e26765076fca0255e842a4e9093423550d55)

Author SHA1 Message Date
Rusty Russell ba41238df9 invoice: allow suffixes. 6 years ago
Rusty Russell 1d6584e733 invoice: change default expiry to 7 days. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 6 years ago
Rusty Russell bac9a594b8 wallet: use amount_sat/amount_msat. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell b8e484b508 struct channel_config: use amount_sat / amount_msat. 6 years ago
Rusty Russell 85b8b25749 bitcoin/chainparams: use amount_sat / amount_msat 6 years ago
Rusty Russell b5dcb93e5f wallet: use amount_msat / amount_sat. 6 years ago
Rusty Russell 3ba544bfde common/bolt11: use struct amount_msat 6 years ago
Rusty Russell a25e22737c common/json_tok: add param_msat / param_sat. 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 6bd1e46b25 invoice: don't allow creation of unpayable invoices. 6 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Rusty Russell 2a8a8c64e9 invoice: add DEVELOPER-only optional dev-routes param. 6 years ago
Rusty Russell 1567238dd9 invoice: option to expose/not-expose private channels. 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Rusty Russell add822a072 jsonrpc: don't be coy with details for command_its_complicated(). 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 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 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 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
Rusty Russell c8c3294a23 json-invoice: add routeboost, warnings. 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Rene Pickhardt fc12f65a3d Invoiceapidoc patch 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 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 c32f7910cc param: upgraded json_tok_label 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 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
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 6 years ago
Christian Decker fbbc5899e4 invoices: Make the invoice_details more idiomatic 6 years ago
Christian Decker 259a69994d json-rpc: Retrieve the invoice description in listinvoices 6 years ago
Christian Decker 7f45947523 wallet: Store the description in the database for invoices 6 years ago
Rusty Russell 9e14d6cf04 Remove all JSON commands and fields deprecated before 0.6. 6 years ago
Mark Beckwith b876c601a6 Modern param style for chaintopology.c, ... 6 years ago
Rusty Russell 28c3706f87 hsmd: fix missing status messages. 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Rusty Russell d9a672ab02 listinvoice: speed up single-invoice case. 6 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago