168 Commits (745634d9b90639a239f359aae9f814132476e716)

Author SHA1 Message Date
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
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
ZmnSCPxj 24ee5d0437 pay: Store payment on failure. 7 years ago
ZmnSCPxj 411c9583a7 pay: Save and recover failure information. 7 years ago
ZmnSCPxj 1e4adb0359 pay: Make sendpay nonblocking. 7 years ago
ZmnSCPxj bb4661f008 pay: Factor out construction of sendpay_result 7 years ago
Rusty Russell c9e271df90 pay: wrap missing route_channels handling in COMPAT_V052. 7 years ago
Corné Plooy b857b2e843 Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 7 years ago
ZmnSCPxj 8e8d7c2aba pay/sendpay: Use spec names for rhash and r. 7 years ago
Rusty Russell 042d5d13f5 short_channel_id: don't use bitfields. 7 years ago
practicalswift 3dbace3421 Remove redundant casts to same type 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell 1dc6f7575a lightningd: fix crash when we get onchain after old db. 7 years ago
practicalswift f351417905 Add assertions to clarify our assumptions about msg != NULL 7 years ago
Rusty Russell 8db8c51201 lightningd: struct uncommitted_channel for opening channels. 7 years ago
ZmnSCPxj 4ad1021c2c payalgo: Repeat pay command if possible. 7 years ago
ZmnSCPxj fda26bdcda payalgo: New file for pay command. 7 years ago
ZmnSCPxj 7ee6ccfbd7 pay: Generalize internal interface of sendpay. 7 years ago
ZmnSCPxj 700dda7e60 pay: Rename `pay_command` to `sendpay_command` 7 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
ZmnSCPxj 354fafbf60 pay: Add a limit to the fee. 7 years ago
practicalswift 5474512c31 Add assertion to clarify assumption made in order to avoid UB 7 years ago
ZmnSCPxj d666857aed pay: Recover from unparseable routing failures by random disabling of channels. 7 years ago