59 Commits (cfebe66762d9c0ee7e8de979e9a12ea8f29b7c68)

Author SHA1 Message Date
Rusty Russell c328a76438 channeld: use flags to track whether changes are pending. 7 years ago
Rusty Russell 5fb4577890 channeld/full_channel: fix incorrect reutrn from channel_rcvd_revoke_and_ack. 7 years ago
Rusty Russell 4db460903a htlc_tx: wire up the htlc points. 7 years ago
Rusty Russell fe5614a489 basepoints/secrets: add htlc entry 7 years ago
Rusty Russell 2a28173891 Typo fix: CTLV -> CLTV. 7 years ago
Rusty Russell e137e2527f Update BOLT references with typo fixes. 7 years ago
Rusty Russell 7e13e9e457 channeld: don't allow NULL htlcmap for full_channel 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 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
Rusty Russell 04db39558d htlc_tx: use keyset abstraction. 7 years ago
Rusty Russell 4bfaaef408 keyset: abstraction over what keys we need for a specific commitment. 7 years ago
Rusty Russell 6fa90c926a channeld: exit after shutdown when no more HTLCs. 7 years ago
Rusty Russell b600e6118c lightningd/channel: hand commit_index in when creating txs only. 7 years ago
Rusty Russell 3f65f0f000 lightningd: fix up malformed onion handling. 7 years ago
Rusty Russell dc160110a6 lightningd/channel: support forcing HTLCs to restore channel state. 7 years ago
Rusty Russell 4151135be2 channel: change initialization to have explicit local amount, and commot indices. 7 years ago
Rusty Russell 4a161b710d channeld: pass htlcs to master daemon in batches. 7 years ago
Rusty Russell b07b1c1690 channeld: dump htlc transitions. 7 years ago
Rusty Russell 7105085801 lightningd/channel: hand back changed htlcs, not callbacks. 7 years ago
Rusty Russell 6f181e0dc1 BOLT update for 8-byte satoshi values, and other updates. 7 years ago
Rusty Russell 7389aae26a Massive BOLT text underscore and formatting updates. 7 years ago
Christian Decker f24aab1916 sphinx: Updating daemon to new sphinx implementation 8 years ago
Rusty Russell 2d635a381b lightningd/channel: pass owner, not sender to channel_fulfill_htlc / channel_fail_htlc 8 years ago
Rusty Russell be4af38d0c channel: unwrap and send incoming HTLCs to master. 8 years ago
Rusty Russell 8f2c4348a9 lightningd/channel.c: tell if we're still awaiting revoke_and_ack. 8 years ago
Rusty Russell 3041cd5915 lightningd/channel.c: clearer functions names, better return values. 8 years ago
Rusty Russell f83c04fdbe lightningd/channel.c: make callbacks clearly generic 8 years ago
Rusty Russell ada1eb5106 lightningd/channel.c: add callbacks for when HTLCs fully committed/removed. 8 years ago
Rusty Russell 075092411e lightningd/channel: generate htlc txs and wscripts as well. 8 years ago
Rusty Russell dd1a81d8bd lightningd/channel: implement channel_fail_htlc. 8 years ago
Rusty Russell 3a9c559dc6 lightningd/channel: quote BOLT #2 for checking expiry. 8 years ago
Rusty Russell 8cc7f31d44 Update wire from spec 9e0a0e893db389bfe392b2f4db8097949395fe28 8 years ago
sstone 62ccf266fa bolt 3: use our revocation basepoint when computing their revocation key 8 years ago
Rusty Russell 4bf398c4e7 status: move into lightningd/status. 8 years ago
Rusty Russell c64447a929 lightningd/derive_basepoints: hoist derivation logic. 8 years ago
Rusty Russell 7419fde9a0 Update to new spec: differentiate channel_id and short_channel_id. 8 years ago
Rusty Russell 5dc0402a44 Update to lightning-rfc to dc0b529161561c6be3ff53c5f8574b23c3305a04 8 years ago
Rusty Russell 4a7418e3db channel: object to track channel state. 8 years ago