324 Commits (7eb6213fca3cb6d843161dbb75d1c0b24f3debaf)

Author SHA1 Message Date
Rusty Russell 32c7c133f4 common/sphinx: make onionpacket.routinginfo a dynamic member. 4 years ago
Rusty Russell 3776af4a35 common/sphinx: make TOTAL_PACKET_SIZE a macro. 4 years ago
Rusty Russell dc745cdf2f peer_htlcs.c: close taken() leak. 4 years ago
niftynei cefb64cd68 htlc_accepted: log BROKEN if both 'failure_msg' + 'failure_onion' 4 years ago
fiatjaf 65cdb78bb4 refactor htlc_accepted_hook_deserialize. 4 years ago
fiatjaf 9e4bed73d9 optional "failure_onion" in reply to htlc_accepted hook. 4 years ago
Michael Schmoock 8a8dabaa58 feat: adds state change cause and message 4 years ago
Rusty Russell ec868d4acb lightningd: fix crash when we try to send fail_htlc msg to onchaind. 4 years ago
Rusty Russell 58f6e316cc lightningd: separate fee_states out of struct channel_info. 4 years ago
Rusty Russell 349f245f8c lightningd: remove deprecated per_hop_v0 in htlc hook. 4 years ago
Rusty Russell c34c055d82 Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 4 years ago
Rusty Russell 8150d28575 Makefile: use generic rules to make spec-derived sources. 4 years ago
Rusty Russell fe8564555f closingd: convert to new wire generation style. 4 years ago
Rusty Russell dffbf8de85 gossipd: convert wire to new scheme. 4 years ago
Rusty Russell 1702c7a69a hsmd: convert to new wire generation style. 4 years ago
Rusty Russell 8ae6740bb1 Makefile: create generic wiregen rules, use for channeld. 4 years ago
Rusty Russell b09e519669 options: be more conservative with timeouts on mainnet. 4 years ago
Rusty Russell d8d1014ca4 channeld: implement htlc sig checking changes for option_anchor_outputs. 4 years ago
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