324 Commits (7eb6213fca3cb6d843161dbb75d1c0b24f3debaf)

Author SHA1 Message Date
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
Christian Decker d1df4d6959 htlc: Add a checker function tellung us whether we can continue 5 years ago
Christian Decker d7b28ac480 htlc: Consolidate validation after the htlc_accepted hook returns 5 years ago
Christian Decker fc14e5eab0 htlcs: Make necessary payload fields optional and derfer validation 5 years ago
Christian Decker d69a43780c sphinx: Use the new `fromwire_tlv_payload` function 5 years ago
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
Rusty Russell 323e4f6288 dev: add option to prevent HTLC timeouts. 5 years ago
Rusty Russell 2a2259083a lightningd: handle tlv-style payloads. 5 years ago
Rusty Russell a76518a029 common/sphinx: rename hop_data to hop_data_legacy. 5 years ago
Rusty Russell 21d2cc663b lightningd: apply feerate changes correctly. 5 years ago