256 Commits (71b90bf3bbe2d160c3744812b65aff778eea24af)

Author SHA1 Message Date
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
Rusty Russell 153c622157 lightningd: remove lightningd_state. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell e3debe5adb lightningd: move common "can I send HTLC" checks into send_htlc_out. 8 years ago
Rusty Russell 7882bc0536 lightningd: unify pay vs forward path when handling failures. 8 years ago
Rusty Russell 3f65f0f000 lightningd: fix up malformed onion handling. 8 years ago
Rusty Russell 207eeae1f7 lightningd: explictly split htlc_in and htlc_out. 8 years ago
Rusty Russell ae62509b58 lightningd: remove dev-newhtlc command. 8 years ago
Rusty Russell 4a161b710d channeld: pass htlcs to master daemon in batches. 8 years ago
Rusty Russell 5b1d60839a lightning: fix reverse test causing crash when paying to no owner. 8 years ago
Rusty Russell b99c5620ef struct secret: use everywhere. 8 years ago
Christian Decker 9820abda7c sphinx: Store shared secrets on the origin node 8 years ago
Rusty Russell 103ac79c34 lightningd: expose channel in getpeers. 8 years ago
Christian Decker b9dcb909b8 routing: Simplify code to read the route back in 8 years ago