253 Commits (9587425f2dd86014ffb1a156f9ca51c743c2f160)

Author SHA1 Message Date
Rusty Russell 39e4796ae3 json_command: command_fail_badparam helper. 4 years ago
Rusty Russell 8150d28575 Makefile: use generic rules to make spec-derived sources. 4 years ago
Rusty Russell dffbf8de85 gossipd: convert wire to new scheme. 4 years ago
Christian Decker 639eaaf2b4 json-rpc: Do not return a null amount_msat to listpays 4 years ago
Vincenzo Palazzo 1521c29fcf listpays mod 1: add destination inside the response when bolt11 is null 4 years ago
Christian Decker d7cca0781d jsonrpc: Add `msatoshi` argument to `sendonion` to annotate 4 years ago
Rusty Russell b4aff493f1 pay: always send onion error message to gossipd. 4 years ago
Rusty Russell 71a2aefafd sendonion: add bolt11 arg. 4 years ago
Rusty Russell 09eb7110e0 sendpay: insist that partid be an exact duplicate if in progress. 5 years ago
Rusty Russell 73d5d96d2a sendpay: don't allow a new part payment if any part has succeeded. 5 years ago
Christian Decker 212a3c5ec5 ld: We might not have a failing channel if localfail and sendonion 5 years ago
Rusty Russell 4eb1233ccb lightningd: don't report spurious temporary_node_failure on local failures. 5 years ago
Rusty Russell 1d29228136 lightningd: make sendpay support `blinding` and `enctlv` fields (EXPERIMENTAL) 5 years ago
Rusty Russell a85d40fc5e common/onion: add blinding and enctlv encoding. 5 years ago
Rusty Russell b29d1ed3ff channeld: support HTLCs with blinding (EXPERIMENTAL_FEATURES) 5 years ago
Rusty Russell 2f1502abf4 cleanup: make 'u8 *features' and 'struct feature_set *fset' more explicit. 5 years ago
Rusty Russell cf43e44378 common/features: don't use internal global. 5 years ago
Rusty Russell 26e906a8aa sendpay: do route parsing inside parameter parsing. 5 years ago
Rusty Russell 0007af0a4e lightningd: remove deprecated 'description' parameter. 5 years ago
Rusty Russell 40e3566e9a lightningd: use the async mechanism for channel_update access. 5 years ago
Rusty Russell 2aad3ffcf8 common: tal_dup_talarr() helper. 5 years ago
Rusty Russell bbc7a79542 lightningd: always use an onionreply for locally generated incoming HTLC errors (unless BADONION). 5 years ago
Rusty Russell 72d55d3e3b lightningd: store raw msg rather than code for locally-failed outgoing HTLCs 5 years ago
Rusty Russell b84b4b4695 lightningd: rename htlc_in and htlc_out failuremsg fields to failonion. 5 years ago
Vasil Dimov 46f6c6b96e lightningd: fix wrong command in response message 5 years ago
Rusty Russell f3600d22a0 lightningd: disallow `msatoshi` arg to sendpay unless exact when non-MPP. 5 years ago
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