108 Commits (64fbea15282d6ba90b423d8f886bdd37310ba469)

Author SHA1 Message Date
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
ZmnSCPxj d4478458dd pay: Change origin_index to erring_index, start with local node = 0. 7 years ago
ZmnSCPxj a6c6b8d9d3 pay: Provide detailed errors on `sendpay` or `pay` failure. 7 years ago
ZmnSCPxj 452925c05a pay: Tweak interface of remote_routing_failure. 7 years ago
ZmnSCPxj a1b9fa7538 pay: Add origin_index to struct routing_failure. 7 years ago
ZmnSCPxj f21cb57d27 pay: Also treat nonexistent peer as immediate routing failure. 7 years ago
ZmnSCPxj 5f2cd7c11e pay: Report routing failure on immediate fail of send_htlc_out. 7 years ago
ZmnSCPxj d14efde4bc pay: Refactor logging into report_routing_failure. 7 years ago
Rusty Russell 9b8fe618f6 pay: remove cmd pointer from htlc_out. 7 years ago
alaniz b7856e3512 Onboarding: tweak grammar conventions for RPC responses 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago