324 Commits (7eb6213fca3cb6d843161dbb75d1c0b24f3debaf)

Author SHA1 Message Date
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
Rusty Russell 060a440548 channeld: tell master about next_per_commit_point. 8 years ago
Rusty Russell 46efb37152 channeld: send shared secrets with initial got_commitsig message. 8 years ago
Rusty Russell 207eeae1f7 lightningd: explictly split htlc_in and htlc_out. 8 years ago
Rusty Russell 61906ea415 channeld: don't keep shachain. 8 years ago
Rusty Russell 4a161b710d channeld: pass htlcs to master daemon in batches. 8 years ago
Rusty Russell 7c9b66e67f lightningd: peer_htlcs.c 8 years ago