41 Commits (b8fa765c3fc006d940af2729288441546eb9a533)

Author SHA1 Message Date
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 7 years ago
Rusty Russell c1f21b9fce lightningd/peer_control.c: rename peer->balance. 7 years ago
Rusty Russell 42c9cb58c7 channeld: rename commit_index to next_index. 7 years ago
Rusty Russell e2c5104aab lightningd: immediately fail HTLCs coming in from shutting down channels. 7 years ago
Rusty Russell 773d2c09e1 lightningd: push incoming HTLCs into SENT_REMOVE_HTLC upon outgoing resolution. 7 years ago
Rusty Russell 15405f95e1 lightningd: simply store commit index, rather than count sent/received. 7 years ago
Rusty Russell ffa5e1c52c peer_fail: differentiate transient and permanent failures. 7 years ago
Rusty Russell d236e724a9 channeld: save old remote_per_commit and return it in init. 7 years ago
Rusty Russell e3debe5adb lightningd: move common "can I send HTLC" checks into send_htlc_out. 7 years ago
Rusty Russell fa91394ec7 lightningd: only update the maximum htlc ID on commit. 7 years ago
Rusty Russell 7882bc0536 lightningd: unify pay vs forward path when handling failures. 7 years ago
Rusty Russell 9497cbe73b lightningd/channel: tell master about the commit sigs. 7 years ago
Rusty Russell 3f65f0f000 lightningd: fix up malformed onion handling. 7 years ago
Rusty Russell 4097351f16 channeld: get handed existing HTLCs in init message. 7 years ago
Rusty Russell 7e820f07e7 channeld: get commit indices from master. 7 years ago
Rusty Russell c1d5e41dfe channeld: include last sent commit and last revoke in init message. 7 years ago
Rusty Russell 6700a48d42 lightningd: save num_commits_sent/received and num_revocations_received. 7 years ago
Rusty Russell a55b58d0d5 lightningd: track balance in way which matches channeld. 7 years ago
Rusty Russell 060a440548 channeld: tell master about next_per_commit_point. 7 years ago
Rusty Russell 46efb37152 channeld: send shared secrets with initial got_commitsig message. 7 years ago
Rusty Russell 207eeae1f7 lightningd: explictly split htlc_in and htlc_out. 7 years ago
Rusty Russell 61906ea415 channeld: don't keep shachain. 7 years ago
Rusty Russell 4a161b710d channeld: pass htlcs to master daemon in batches. 7 years ago
Rusty Russell 7c9b66e67f lightningd: peer_htlcs.c 7 years ago