306 Commits (1da977a04cc57dd5ecd987328eb34c11bd19dda4)

Author SHA1 Message Date
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
Rusty Russell fa91394ec7 lightningd: only update the maximum htlc ID on commit. 8 years ago
Rusty Russell 7882bc0536 lightningd: unify pay vs forward path when handling failures. 8 years ago
Rusty Russell 9497cbe73b lightningd/channel: tell master about the commit sigs. 8 years ago
Rusty Russell 3f65f0f000 lightningd: fix up malformed onion handling. 8 years ago
Rusty Russell 4097351f16 channeld: get handed existing HTLCs in init message. 8 years ago
Rusty Russell 7e820f07e7 channeld: get commit indices from master. 8 years ago
Rusty Russell c1d5e41dfe channeld: include last sent commit and last revoke in init message. 8 years ago
Rusty Russell 6700a48d42 lightningd: save num_commits_sent/received and num_revocations_received. 8 years ago
Rusty Russell a55b58d0d5 lightningd: track balance in way which matches channeld. 8 years ago