70 Commits (e1284b1df147de3b36acbbac3f3d97516e2ca075)

Author SHA1 Message Date
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
Rusty Russell dbef4a1827 pay: remove gratuitous check for msatoshitok being 'null'. 7 years ago
Rusty Russell 6d7c8c8dd0 doc: manpages for pay, listpayments and decodepay. 7 years ago
Rusty Russell a1a0b33577 pay: allow 'null' msatoshi field. 7 years ago
ZmnSCPxj 2d8304f176 pay: Change online help of 'listinvoices' to use 'msatoshi' as per actual response returned. 7 years ago
ZmnSCPxj caab95b922 wallet_payment: Make msatoshi field nullable. 7 years ago
Rusty Russell ba6904f833 pay: close leaks. 7 years ago
Rusty Russell 8c4eecc089 sphinx: fix leaks. 7 years ago
Rusty Russell f19e02eeaa pay: close leak in payment_failed. 7 years ago
Rusty Russell 8c665835fa jsonrpc: make explicit call to indicate cmd is still pending. 7 years ago
Rusty Russell 477a529856 pay: make sure we don't think payment in progress if it immediately fails. 7 years ago
Rusty Russell be35895847 lightningd: instead of malformed code, keep generic error code. 7 years ago
Rusty Russell 45f5bb7fac bolt11: move to common/ and sign via callback. 7 years ago
Christian Decker 79443d6f94 htlc: Defer saving the outgoing payment until we store the HTLC 7 years ago
Christian Decker 77497b526f jsonrpc: Add listpayments method 7 years ago
Christian Decker e0d86376e2 wallet: Track outgoing payments in the database 7 years ago
Christian Decker 6ceb375650 wallet: Record issued invoices in the payments table 7 years ago
Rusty Russell 6c21da69e6 bolt11: 'c' support for min_final_cltv_expiry. 7 years ago
Rusty Russell e1dc75e954 pay: new all-in-one RPC command. 7 years ago
Rusty Russell 7ed81cdf7b pay: factor out actual payment sending from json part of sendpay. 7 years ago
Rusty Russell 79ebb9dfd0 json: helper to parse pubkeys. 7 years ago
Rusty Russell 3f9ec6c2fa jsonrpc: use-after-free bug due to unspecified free behavior 2/2 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago