154 Commits (b99293fbb62cfb5c826a401f83d4799306bac65e)

Author SHA1 Message Date
Rusty Russell f8ecd08721 pay: don't list dummy channel if error is from final hop. 6 years ago
Rusty Russell 4e6b8e13a4 lightningd/pay: simplify code significantly. 6 years ago
Rusty Russell 1c58351551 lightningd: hardcode callbacks again. 6 years ago
Rusty Russell a45a62aff6 lightningd: move pay internals back into pay.c 6 years ago
Rusty Russell afab1f7b3c gossipd: handle onion errors internally. 6 years ago
Rusty Russell 4eddf57fd9 gossipd: don't mark channels unroutable. 6 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Rusty Russell e2777642c0 getroute: add direction to route returned. 6 years ago
Rusty Russell a00c357854 JSON: remove redundant word "channel" from direction fields. 6 years ago
Rusty Russell be64dd84ca waitsendpay: indicate which channel direction the error was. 6 years ago
Rusty Russell 109c6eb3a3 channeld: include proper sha value in BADONION errors. 6 years ago
Rusty Russell 8f8783c0e3 pay: correctly blame the *next* node on BADONION error. 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 6c96bcacd7 lightningd: fix inconsistency without COMPAT enabled. 6 years ago
Rusty Russell 123713fbf5 lightningd: fix outstanding taken pointer. 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 4cef0d062c param: use param for json_pay routes 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 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 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
Mark Beckwith 1fca7ab562 Added json_tok_sha256 (#1779) 7 years ago
Christian Decker d3edfc8028 onion: Print the extracted channel_update and onionreply to debug 7 years ago
Christian Decker 6bbea741d1 pay: Strip the type prefix from nested channel_updates 7 years ago
Christian Decker f449f9d3ef onion: Make sure we understand the channel_update in the onionreply 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 bc7393bb64 pay: Reduce nesting and fix minor type inconsistency 7 years ago
Christian Decker 1738107598 json-rpc: Add description argument to `sendpay` 7 years ago
Christian Decker ab223c2ade pay: Pass description to send_payment 7 years ago
Christian Decker 60e0eec967 wallet: Store payment description in the database 7 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
ZmnSCPxj, ZmnSCPxj jxPCSmnZ 11ca729d85 wallet, payalgo: Save detail of payment failures for later reporting. (#1345) 7 years ago
ZmnSCPxj 86290b54d4 routing: Use 64-bit msatoshi for messages to and from routing. 7 years ago
ZmnSCPxj 5a267eb831 pay, payalgo: Show erring_node as compressed DER pubkey. 7 years ago
ZmnSCPxj bc5fc692d1 pay: Let `sendpay` modify the recorded `msatoshi` of payments. 7 years ago