306 Commits (c85b14f06d2b0f408e18248c2a3a6674bd0fec89)

Author SHA1 Message Date
Rusty Russell 47002af369 test_penalty_htlc_tx_timeout: debugging 5 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 5 years ago
lisa neigut aab9893661 coins: have `we_fulfilled` be fully 'ternary' 5 years ago
lisa neigut 8537e77ac7 coins: re-write API interface for htlc notices 5 years ago
lisa neigut 9caf20f636 coin moves: don't log coin moves in onchaind if we're replaying 5 years ago
lisa neigut ce8bdfcc45 coin_mvt: wire up notifications for in-channel htlcs 5 years ago
lisa neigut 434cad0c3b wallet-htlc: add 'we-filled' flag to saved htlc state 5 years ago
Christian Decker d1f8509060 watchtower: Call the commitment_revoked hook every time we update 5 years ago
Christian Decker 38bad4cb39 channeld: Pass back the penalty_base when reporting a revocation 5 years ago
Christian Decker 4af1db9ad5 wallet: Store penalty_bases from openingd and channeld in the DB 5 years ago
Christian Decker f9dab1e50a channeld: Pass penalty_base back to lightningd on each commit 5 years ago
Rusty Russell 4eb1233ccb lightningd: don't report spurious temporary_node_failure on local failures. 5 years ago
lisa neigut 0e20e3c5e7 df: rename 'funder' to 'opener' 5 years ago
Rusty Russell 63441075b5 lightningd: allow htlc_accepted hook to replace onion payload. 5 years ago
Christian Decker 5b11bab876 plugin: Check that the preimage returned as resolution matches hash 5 years ago
Rusty Russell deac09950a plugins: make chained hooks have two different callbacks. 5 years ago
Rusty Russell 9aedb0c61f plugin: simplify hooks calling methods, and make lifetime requirements explicit. 5 years ago
Rusty Russell 2c3543e42d lightningd: fix crash when failing htlc once channeld dies. 5 years ago
Rusty Russell b29d1ed3ff channeld: support HTLCs with blinding (EXPERIMENTAL_FEATURES) 5 years ago
Rusty Russell 539a73e1ec common/onion: EXPERIMENTAL handling of enctlv field to override next_short_channel_id. 5 years ago
Rusty Russell 117a8391f9 lightningd: don't log BROKEN when we don't have a channel update. 5 years ago
Rusty Russell d9fc99ea39 channeld: simplify loading of pre-existing HTLCs. 5 years ago
Rusty Russell d881a4bd66 BOLT: update to latest version. 5 years ago
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