22 Commits (4223a918421ccfe596880cd0494863fa6a1d94f2)

Author SHA1 Message Date
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