115 Commits (ed9093fcbdfb23d01b131db08a556aeb0d2f8143)

Author SHA1 Message Date
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
Rusty Russell a76a53a933 onchaind: fulfill HTLCs onchain. 7 years ago
Christian Decker 641a3b64cf channel: Use min_cltv_expiry in the channel announcements 7 years ago
Rusty Russell 1cf33eefe2 lightningd: handle case where channeld fails locally-generated HTLC. 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago
Rusty Russell 153c622157 lightningd: remove lightningd_state. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Christian Decker 4b64b7f2aa lightningd: Fix channel-persistence for channels with commits 7 years ago
Rusty Russell d7db0be5da lightningd: start onchaind when we see funding spent. 7 years ago
Rusty Russell 1396cf6249 lightningd: remove num_revocations_received. 7 years ago
Rusty Russell a5d4a3eb2c lightningd: derive num_revocations_received. 7 years ago
Rusty Russell edd27d21b5 lightningd: save last htlc sigs. 7 years ago
Rusty Russell b6d7ad0614 lightningd: store the htlc stubs. 7 years ago
Rusty Russell 893335244d openingd: supply initial tx as well as signature. 7 years ago
Rusty Russell 80e28707a3 channeld: send commit tx and signature to master. 7 years ago
Christian Decker 85d2256898 wallet: Use persistent shachain for remote secrets 8 years ago
Rusty Russell c1f21b9fce lightningd/peer_control.c: rename peer->balance. 8 years ago
Rusty Russell 42c9cb58c7 channeld: rename commit_index to next_index. 8 years ago
Rusty Russell e2c5104aab lightningd: immediately fail HTLCs coming in from shutting down channels. 8 years ago
Rusty Russell 773d2c09e1 lightningd: push incoming HTLCs into SENT_REMOVE_HTLC upon outgoing resolution. 8 years ago
Rusty Russell 15405f95e1 lightningd: simply store commit index, rather than count sent/received. 8 years ago
Rusty Russell ffa5e1c52c peer_fail: differentiate transient and permanent failures. 8 years ago
Rusty Russell d236e724a9 channeld: save old remote_per_commit and return it in init. 8 years ago
Rusty Russell e3debe5adb lightningd: move common "can I send HTLC" checks into send_htlc_out. 8 years ago