1746 Commits (d492f3872cf865b161ff6aa9ce89942a95f29907)
 

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