227 Commits (8055389b90885084053387bb20874324f12e7798)

Author SHA1 Message Date
Rusty Russell 3cf8443285 Makefile: update bolt markers which have been since merged. 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
Rusty Russell bfcef9002e lightningd: fix handling of WIRE_UPDATE_FAIL_MALFORMED_HTLC. 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell aae5148206 common: remove onionreply type from sphinx.c 5 years ago
Christian Decker 4be1868b8a pay: Invert ownership of wallet_payment 5 years ago
Christian Decker b9cf19175b pay: Fix a use-after-free bug 5 years ago
Christian Decker b800904409 pay: Move notify_sendpay_* calls out of the waiter loop 5 years ago
Christian Decker 51ee5cc28d pay: Move error message creation for sendpay into its own function 5 years ago
Christian Decker 5e44895264 sphinx: Check the payload size at construction and in createonion 5 years ago
Rusty Russell 839909d2cf Protocol: make var_onion, payment_secret and basic_mpp non-EXPERIMENTAL. 5 years ago
Rusty Russell ec1505199e lightningd: fix failure message in waitsendpay with multi-part payments. 5 years ago
Rusty Russell edab0df611 lightningd: fix spurious "more than twice final" error. 5 years ago
Rusty Russell 0e4a30c635 doc: update experimental bolt version quotes. 5 years ago
Rusty Russell b670b51fa2 waitsendpay: add partid arg. 5 years ago
Rusty Russell 63fffd41c8 configure: make partid payments only available with EXPERIMENTAL_FEATURES and payment_secret 5 years ago
Rusty Russell cd35835c5a sendpay/sendonion: add optional partid arg, finesse msatoshi argument. 5 years ago
Rusty Russell ce4403d638 lightningd: change amount-in-flight check to be more nuanced. 5 years ago
Rusty Russell 618c390475 lightningd: share more code between sendpay and sendonion. 5 years ago
Rusty Russell 345ca9b122 db: add partid field to htlc_out. 5 years ago
Rusty Russell 2d18c3a209 db: add partid, total_msat fields to payment entries. 5 years ago
Christian Decker ff5f7b194f sphinx: Return the error in parse_onionpacket 5 years ago
Rusty Russell f7ebbb2ec5 common: make sphinx code ignorant of payload format. 5 years ago
fiatjaf 770789684c jsonrpc: Add json_add_preimage helper 5 years ago
Christian Decker 0b61781746 json-rpc: Only show the amount_msat field if we know it in payments 5 years ago
Christian Decker 82255e2401 json-rpc: Add helper for an array of secrets 5 years ago
Christian Decker 55d8dcc907 param: Encapsulate hops parsing in a param_hops_array helper 5 years ago
Christian Decker 705e189f0a pay: Allow payments initiated with `sendonion` to be retried 5 years ago
Christian Decker 16b6c31010 json-rpc: Add the error onion if we stored it in the DB 5 years ago
Christian Decker 27547ce8d4 pay: Allow `sendonion` callers to provide `shared_secrets` 5 years ago
Christian Decker 7e41d6c9c4 pay: Make `erring_channel` optional in `struct routing_failure` 5 years ago
Christian Decker 88961aa4b0 pay: Make `erring_node` optional in `struct routing_failure` 5 years ago
Christian Decker b8ce175fd2 pay: Handle payment failures resulting from sendonion correctly 5 years ago
Christian Decker 42277a7ad4 json-rpc: Add the `sendonion` RPC command 5 years ago
Christian Decker 57f13af1ec pay: Add param_route_hop helper to parse `struct route_hop` from JSON 5 years ago
Christian Decker 41221b6ecb pay: Make wallet_payment->destination optional 5 years ago
Christian Decker e13ee29544 pay: Split the onion construction from sendpay 5 years ago
Christian Decker 6ecdc3f672 json-rpc: Add `createonion` command similar to the `devtools/onion` tool 5 years ago
Christian Decker de6bf3e421 json: Add two param parsers for secrets and hex-encoded binary data 5 years ago
Rusty Russell 9765642bf8 lightningd: use final_tlv if the payment_secret is supplied. 5 years ago
Rusty Russell dfb1f6a096 JSON: add `payment_secret` parameter to sendpay. 5 years ago
Rusty Russell ebac3d2a85 spec: update to experimental BOLTs with secret/total_amount. 5 years ago
Rusty Russell 39d537b495 lightningd: remove log_add functions. 5 years ago
Rusty Russell 0211712f5e sphinx: separate nonfinal from final interface, add tlv option. 5 years ago
Rusty Russell c83834ca82 lightningd: expose/accept "style" parameter in routes. 5 years ago
Rusty Russell a76518a029 common/sphinx: rename hop_data to hop_data_legacy. 5 years ago
trueptolemy 12da10cd15 sendpay: Compatible with old parameters `description` 5 years ago
trueptolemy f715e3ad84 pay: A cleanup for the comment about wait_payment() 5 years ago
trueptolemy 086f096b86 Pay: Notify 'sendpay_success' and 'sendpay_failure' when sendpay succeeds and fails 5 years ago
trueptolemy 9d8f46149a API: Add payment fields(if not NULL) into return value when sendpay fails 5 years ago