1800 Commits (f371b6df20365000f4d776a8c95e1cd649129b39)
 

Author SHA1 Message Date
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 66d55334b0 dev_disconnect: log when we are going to disconnect. 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 6b61e9ab0a channeld: exchange channel_reestablish. 8 years ago
Rusty Russell b600e6118c lightningd/channel: hand commit_index in when creating txs only. 8 years ago
Rusty Russell 90284af249 channeld: make per_commit_point and per_commit_secret handling clearer. 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 dc160110a6 lightningd/channel: support forcing HTLCs to restore channel state. 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 4151135be2 channel: change initialization to have explicit local amount, and commot indices. 8 years ago
Rusty Russell a6b03dec15 channeld: do init as sync IO. 8 years ago
Rusty Russell a55b58d0d5 lightningd: track balance in way which matches channeld. 8 years ago
Rusty Russell f918c3a0e7 lightningd/htlc_wire: routines to marshal/unmarshal enum side. 8 years ago
Rusty Russell be1b9eb4cf lightningd/htlc_wire: routines to marshal/unmarshal enum htlc_state. 8 years ago
Rusty Russell 9868e896d9 tools/generate-wire.py: handle marshal/unmarshal of enum types. 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 ae62509b58 lightningd: remove dev-newhtlc command. 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 dcb3af7d7c channeld: allow waiting for a specific reply from master. 8 years ago
Rusty Russell ad60d71c55 lightningd: fail for the moment if we fail in CHANNELD_NORMAL. 8 years ago
Rusty Russell b07b1c1690 channeld: dump htlc transitions. 8 years ago
Rusty Russell ad3ab53fa4 lightningd/htlc_wire: wire types for sending HTLCs to/from channel daemon. 8 years ago
Rusty Russell 7c9b66e67f lightningd: peer_htlcs.c 8 years ago
Rusty Russell 42ede14081 channeld: return io_plan from handlers. 8 years ago
Rusty Russell 1ca97a7913 channeld: don't unpack union, leave that to master. 8 years ago
Rusty Russell 6e28412f8f lightningd: clean up HTLC error handling. 8 years ago
Rusty Russell 7105085801 lightningd/channel: hand back changed htlcs, not callbacks. 8 years ago
Rusty Russell 996567c250 lightningd: update BOLT to add channel_reestablish message. 8 years ago
Rusty Russell 733e0aeccf tests/utils.py: wait_for_log automatic offset. 8 years ago
Rusty Russell e161c11e40 tests/utils.py: poll mempool instead of sleeping. 8 years ago
Rusty Russell e7297ffd5d lightningd/peer_control: remove redundant peer_by_pubkey(). 8 years ago
Rusty Russell 212b46b1d9 lightningd/cryptomsg: fix use-after-free introduced by dev_disconnect. 8 years ago
Rusty Russell 9327aa1df4 lightningd: fix logging of peer death. 8 years ago
Rusty Russell 5b1d60839a lightning: fix reverse test causing crash when paying to no owner. 8 years ago
Rusty Russell 122598dffc Makefile: use -f with pytest, to exit on first failure. 8 years ago
Rusty Russell d4618fa199 subdaemons: handle master or gossipd failing. 8 years ago
Rusty Russell 7f0d54533a ccan: update to fix io_wake bug. 8 years ago
Rusty Russell 87ef7acbd6 lightningd/peer_control: join peer logs with master logs. 8 years ago
Rusty Russell f7a22b699e lightningd/peer_control: embed id, don't use pointer. 8 years ago