283 Commits (902edf56e6b637292f5298e456ff2c29b71785b9)

Author SHA1 Message Date
Rusty Russell 24984ec680 common/sphinx: add realm flag so we can avoid legacy parsing. 5 years ago
Christian Decker ac5cba2243 htlc: Return an invalid payload error if payload is invalid 5 years ago
Christian Decker 959687bf6d onion: Pass the position and type of the failing TLV type out 5 years ago
Michael Schmoock 6c50185865 fix: cppcheck ignore two false positives on uninitvar 5 years ago
Rusty Russell f8a21f16c9 lightingd: do a local short_channel_id lookup for forwarding. 5 years ago
Rusty Russell 40e3566e9a lightningd: use the async mechanism for channel_update access. 5 years ago
Rusty Russell 247d249ea8 gossipd: provide helper to get a channels cupdate, create routine to use it. 5 years ago
Rusty Russell 2aad3ffcf8 common: tal_dup_talarr() helper. 5 years ago
Rusty Russell faac4b28ad plugins: support failure_message in invoice and htlc_accepted hooks. 5 years ago
Rusty Russell c9e73dc4e0 lightningd: rename htlc_in field from failcode to badonion. 5 years ago
Rusty Russell 447730e70f wallet: only store BADONION codes in db for incoming htlcs: rest are all onionreplyies. 5 years ago
Rusty Russell bbc7a79542 lightningd: always use an onionreply for locally generated incoming HTLC errors (unless BADONION). 5 years ago
Rusty Russell 590b2db88e lightningd: make local htlc failures pass a wiremsg for errors, not a failcode. 5 years ago
Rusty Russell 5af3a135be lightningd: separate path for failed_htlc when an onion is bad. 5 years ago
Rusty Russell 72d55d3e3b lightningd: store raw msg rather than code for locally-failed outgoing HTLCs 5 years ago
Rusty Russell a150b09665 wallet: Add new htlc column "localfailmsg" for outgoing htlcs. 5 years ago
Rusty Russell cec18dfd6e lightningd: remove always-NULL argument to add_fail. 5 years ago
Rusty Russell ed839bfda0 channeld: get the onionreply back from lightningd for failed htlcs. 5 years ago
Rusty Russell 7ab5c424b6 gossipd: provide (stripped) channel_update when resolving a channel. 5 years ago
Rusty Russell c7bbdd76d3 lightningd: handle fail_htlc_in with no known outgoing channel. 5 years ago
Rusty Russell bb9b761dda channeld: don't get details of our own failed htlcs at init. 5 years ago
Rusty Russell ad3c7f3a1f lightningd: clean up weird call to send_htlc_out. 5 years ago
Rusty Russell b84b4b4695 lightningd: rename htlc_in and htlc_out failuremsg fields to failonion. 5 years ago
Rusty Russell fc4d01cd9d db: put scids in forwards even if we didn't actually send. 5 years ago
Christian Decker 490550d508 plugin: Allow multiple plugins to register the `htlc_accepted` hook 5 years ago
Christian Decker 9a2a09efd6 plugin: Introduce plugin type to allow singleton and chaining 5 years ago
Rusty Russell 6450a7e315 lightningd: update spec and remove allowance for final node to receive a fee. 5 years ago
Rusty Russell 295ca2a436 lightningd: remove things we deprecated 6 months ago. 5 years ago
Rusty Russell 8eda489ae2 lightningd: don't stop processing revoke_and_ack if an HTLC is invalid. 5 years ago
Rusty Russell 262e4c840f sphinx: use struct secret for shared secret. 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell ddce5573c7 channeld: use wirestring for failure strings. 5 years ago
Rusty Russell 9a72016640 lightningd: remove unused allocation. 5 years ago
Christian Decker 4be1868b8a pay: Invert ownership of wallet_payment 5 years ago
Vasil Dimov 2ea91f834c Add the missing space between "if" and "(" 5 years ago
Rusty Russell 72aa315b5e lightningd: save the fee_states into the database. 5 years ago
Rusty Russell 8e3234e67a lightningd: sew in htlc set. 5 years ago
Rusty Russell 8b129b439b lightningd: cleanup redundant args from handle_localpay 5 years ago
Rusty Russell 0e4a30c635 doc: update experimental bolt version quotes. 5 years ago
Rusty Russell 12985331f7 htlcs: remove origin_htlc_id from htlc_out. 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
Rusty Russell d56513362a lightningd: don't always defer commitment_signed if we're not synced. 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
Rusty Russell bb538a1862 common: don't crash on bad sphinx payload. 5 years ago
Christian Decker 69c17d2d31 wire: Let the TLV _is_valid function actually return validity 5 years ago
Rusty Russell e5247a68b6 lightningd: check payment secret on htlc receipt. 5 years ago
Rusty Russell ebac3d2a85 spec: update to experimental BOLTs with secret/total_amount. 5 years ago
Rusty Russell 50d6941e89 lightningd: remove redundant htlc_accepted_hook_payload fields 5 years ago