242 Commits (6635fe12e4160ae6c9721919f4ca5e3c36e7a7d6)

Author SHA1 Message Date
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
ZmnSCPxj a043d1063a pay: Also report local channel failures to gossipd. 7 years ago
ZmnSCPxj 579011e980 pay: Report routing failures to gossip. 7 years ago
ZmnSCPxj b2d8efcf25 pay: Move setting failed status on payment to after we get payment details. 7 years ago
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
practicalswift 5631054152 Start all command descriptions with a verb ("Show", "Set", etc.). Remove unused help texts. 7 years ago
Rusty Russell 8797159825 Use consistent names for timestamps. 7 years ago
Rusty Russell 34a994c7db JSONRPC: listpayments not return a naked array. 7 years ago
Rusty Russell 6e703ad977 JSONRPC: listpayments can list just a specific bolt11 or payment_hash. 7 years ago
Rusty Russell 8cf1870465 jsonrpc: add json_tok_short_channel_id helper. 7 years ago
Rusty Russell 38e8601cf6 wallet: abstract away delayed entry of wallet_payment. 7 years ago
Rusty Russell 469faa476e test_lightning.py: test for persistence. 7 years ago
Rusty Russell 02e05ba6ff pay: remove struct pay_command. 7 years ago
Rusty Russell 0f8f273410 lightningd: move cmd pointer from struct pay_command directly into htlc_out. 7 years ago
Rusty Russell 559010f525 wallet: add path_secrets to payment table. 7 years ago
Rusty Russell 2cbe5b65c7 wallet: add preimage to db. 7 years ago
Rusty Russell dea0aef52f wallet: use wallet_payment only for *outgoing* payments. 7 years ago