239 Commits (490a81940240c5a2a5b91415ba88ba550277d1bd)

Author SHA1 Message Date
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) 6 years ago
Christian Decker d3edfc8028 onion: Print the extracted channel_update and onionreply to debug 6 years ago
Christian Decker 6bbea741d1 pay: Strip the type prefix from nested channel_updates 6 years ago
Christian Decker f449f9d3ef onion: Make sure we understand the channel_update in the onionreply 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 bc7393bb64 pay: Reduce nesting and fix minor type inconsistency 6 years ago
Christian Decker 1738107598 json-rpc: Add description argument to `sendpay` 6 years ago
Christian Decker ab223c2ade pay: Pass description to send_payment 6 years ago
Christian Decker 60e0eec967 wallet: Store payment description in the database 6 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 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
ZmnSCPxj b914062465 pay: Also record how much we actually ended up sending. 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago
ZmnSCPxj 3c39bcc0f7 pay: Make json_add_payment_fields accessible to other parts. 7 years ago
Rusty Russell 4ffd5e213b pay: work around bug #1212 for existing databases. 7 years ago
Rusty Russell 1b9791f0f5 pay: delete HTLC when we delete payment. 7 years ago
ZmnSCPxj 022cfccddd pay: sendpay and waitsendpay print similar to listpayments 7 years ago
ZmnSCPxj fa281d32ea pay: sendpay_result has payment on success or in-progress. 7 years ago
practicalswift f9bd43f266 Limit scope of variable failcode. Remove dead code. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell de5d84097e lightningd: remove ltmp context now we have tmpctx. 7 years ago
ZmnSCPxj a0c2686ebd pay: Have sendpay wait for payment to be saved. 7 years ago
ZmnSCPxj a7a18b96cf pay: Rename some sendpay functions and fields to waitsendpay 7 years ago
ZmnSCPxj 61882ed9df pay: Add hook for triggering storage of payments. 7 years ago