110 Commits (35e4227015216cac523eca61cb74cfdc85e9406c)

Author SHA1 Message Date
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(). 7 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 7 years ago
Christian Decker fbbc5899e4 invoices: Make the invoice_details more idiomatic 7 years ago
Christian Decker 259a69994d json-rpc: Retrieve the invoice description in listinvoices 7 years ago
Christian Decker 7f45947523 wallet: Store the description in the database for invoices 7 years ago
Rusty Russell 9e14d6cf04 Remove all JSON commands and fields deprecated before 0.6. 7 years ago
Mark Beckwith b876c601a6 Modern param style for chaintopology.c, ... 7 years ago
Rusty Russell 28c3706f87 hsmd: fix missing status messages. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Rusty Russell d9a672ab02 listinvoice: speed up single-invoice case. 7 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
Felix 80b298a15f help - add preimage to param list 7 years ago
ZmnSCPxj 2e73317a39 invoice: Define specific error codes for duplicate label and preimage. 7 years ago
ZmnSCPxj 079778e357 invoice: Check duplicate preimage when explicitly sprcified. 7 years ago
ZmnSCPxj eb42804fcc invoice: Support providing preimage when making invoice. 7 years ago
Rusty Russell 09c4203767 bolt11: allow multiple fallback addresses. 7 years ago
Rusty Russell a85ead7058 invoice: allow numeric labels again. 7 years ago
Rusty Russell 9f7d4312ff bolt11: undo json encoding for description bytes. 7 years ago
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
ZmnSCPxj 159e736fc1 invoices: Implement autocleaninvoice. 7 years ago
ZmnSCPxj 3b0081aebb invoices: Add delexpiredinvoice command. 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago