90 Commits (8e9bb39179cf8b16bffb0f43bcd45ce440b789a7)

Author SHA1 Message Date
Rusty Russell 9b8fe618f6 pay: remove cmd pointer from htlc_out. 7 years ago
ZmnSCPxj c46727604e peer_htlcs: Prevent htlc_out from being handled multiple times in case of immediate channeld error. 7 years ago
ZmnSCPxj bd5dd46c4f peer_htlcs: Add missing assignment to hout->failcode. 7 years ago
Rusty Russell 3ccf88d6c4 lightningd: check channeld isn't trying to add 0-satoshi incoming HTLCs. 7 years ago
Rusty Russell 38e8601cf6 wallet: abstract away delayed entry of wallet_payment. 7 years ago
Rusty Russell 02e05ba6ff pay: remove struct pay_command. 7 years ago
Rusty Russell 0f8f273410 lightningd: move cmd pointer from struct pay_command directly into htlc_out. 7 years ago
ZmnSCPxj 93dc90990f invoices: Extensive reorganization of invoice system. 7 years ago
Rusty Russell 79dc44713b channeld: --ignore-fee-limits as a hack for fee disparities. 7 years ago
Christian Decker dd599706cd peer: Save whenever we change last_was_revoke as well 7 years ago
Rusty Russell 2f2fb0c2a1 invoice: add msatoshi_received field. 7 years ago
ZmnSCPxj 50471bf4fe invoice: Make msatoshi field nullable. 7 years ago
Rusty Russell 9a8eca4fee Remove obsolete FIXME messages. 7 years ago
Rusty Russell 55909a7a39 lightningd: call peer_last_tx() to update peer->last_tx before saving to db. 7 years ago
Rusty Russell 93c589efe8 wallet: save block height when we first create channel. 7 years ago
Rusty Russell ba22484901 lightningd: simplify permanent failure. 7 years ago
Rusty Russell 7e062fd637 onchaind: don't assert() when htlc fulfilled twice. 7 years ago
Rusty Russell 90a5ba043c htlc_out: initialize hout->key.id, in case we destroy it before setting. 7 years ago
Rusty Russell 3ed496e45b lightningd: free failed output htlcs. 7 years ago
Rusty Russell 2bed246e10 channeld: generate error messages instead of having master do it. 7 years ago
Rusty Russell ee8274b7a1 channeld: handle wrapping error messages messages. 7 years ago
Rusty Russell be35895847 lightningd: instead of malformed code, keep generic error code. 7 years ago
Rusty Russell 06d7c40c63 lightningd: make minimum feerate significantly lower. 7 years ago
Christian Decker 79443d6f94 htlc: Defer saving the outgoing payment until we store the HTLC 7 years ago
Rusty Russell 552e56d002 channeld: send update_fee messages. 7 years ago
Rusty Russell 062f18127d channeld: handle incoming feerate changes. 7 years ago
Rusty Russell ccf86a138a chaintopology: add notify_feerate_change() callback. 7 years ago
Christian Decker 07e5a9ef9f htlc: Allow for exactly min_final_cltv_expiry cltv delta 7 years ago
Rusty Russell 7133a2f9b3 wallet: assume db errors will be fatal, don't check. 7 years ago
Rusty Russell 8cef36cbd7 lightningd: fail htlcs we fulfill if peer unresponsive after deadline. 7 years ago
Rusty Russell 1142c44c29 lightningd: fail htlcs we offer if peer unresponsive after deadline. 7 years ago
Rusty Russell 9662589ed8 lightningd: move notify_new_block() callback to peer_htlcs. 7 years ago
Rusty Russell bdabb24734 lightningd: note our complience on not forwarding an HTLC post deadline. 7 years ago
Rusty Russell c14b159166 lightningd: remove --deadline-blocks option. 7 years ago
Rusty Russell 860a76b1c9 lightningd: update to add `wire_expiry_too_far`. 7 years ago
Rusty Russell a9002eac52 Update to latest BOLT. 7 years ago
Rusty Russell c2a0c51c30 lightningd: check for excessive HTLC locktimes. 7 years ago
Rusty Russell 0000dc5908 lightningd: Allow in excess of ctlv_expiry. 7 years ago
Rusty Russell 71e794a046 lightningd: split ctlv_expiry and final_cltv. 7 years ago
Rusty Russell 11b43a422b lightningd: close one possibly-reachable abort. 7 years ago
Rusty Russell 0b953b86fe subd: automatically detect if callback frees subd. 7 years ago
Rusty Russell 8f057f7fc7 Revert "gossip: send the *other* node's cltv_expiry_delta in channel_announce." 7 years ago
Rusty Russell f32e0b35ad Revert "Send/receive cltv_expiry_delta in open/accept channel." 7 years ago
Christian Decker cfac9a1f73 htlcs: Remove in-memory htlc_stubs 7 years ago
Christian Decker 98f63856f7 wallet: Remove FIXME 7 years ago
Rusty Russell 297e278132 gossip: send the *other* node's cltv_expiry_delta in channel_announce. 7 years ago
Rusty Russell 18e3f9820f Send/receive cltv_expiry_delta in open/accept channel. 7 years ago
Rusty Russell 2a28173891 Typo fix: CTLV -> CLTV. 7 years ago
Christian Decker 53763ba6a4 wallet: Store HTLCs to the wallet 7 years ago
Rusty Russell 5666ba551f onchaind: fail htlcs which are not included in commitment tx. 7 years ago