45 Commits (5e505e9c5333c2e2bc6515e033810452e3ce8e6a)

Author SHA1 Message Date
ZmnSCPxj f83c4ff903 wallet: Add msatoshi_to_us_min and msatoshi_to_us_max statistics for channels. 7 years ago
Rusty Russell 6bb47276ce lightningd: put min/max feerates into db, struct channel. 7 years ago
practicalswift e25297dd0a Remove unused functions not covered by unit tests 7 years ago
Rusty Russell 6c1233de44 channel: reserve a bip32 index as soon as channel is opened. 7 years ago
Christian Decker aef5780f36 htlc: Extracted htlc detection from the channel destructor 7 years ago
Rusty Russell cccdb53bec channel_states: fold all the ONCHAIND states into one. 7 years ago
Rusty Russell 86a04c59d4 lightningd: maintain a status billboard for each channel. 7 years ago
practicalswift f24eae60b7 Remove unused parameter why in delete_channel(..., const char *why) 7 years ago
Rusty Russell 611ecc60ae lightningd: rename peer_state -> channel_state, remove OPENINGD. 7 years ago
Rusty Russell cc460095ca lightningd: make new_channel a proper constructor. 7 years ago
Rusty Russell e0603d7221 channel: now we're always complete, fields don't have to be optional. 7 years ago
Rusty Russell 8db8c51201 lightningd: struct uncommitted_channel for opening channels. 7 years ago
Rusty Russell 72108f0cb9 wallet: don't use rowid for the channel's DBID. 7 years ago
Rusty Russell 6a3ccafaf9 wallet: don't implicitly remove peers, but do it explicitly. 7 years ago
Rusty Russell 98de10b842 channel: rename free_channel to delete_channel. 7 years ago
Rusty Russell e20fff9340 lightningd: remove almost all other peer2channel / channel2peer shims. 7 years ago
Rusty Russell 329e31bbe7 lightningd/peer_htlcs: remove remaining peer_ shims. 7 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
Rusty Russell 409fef582d subd: keep pointer to channel, not peer. 7 years ago
Rusty Russell b7680412e3 lightningd: rename peer_fail functions to channel_fail. 7 years ago
Rusty Russell 8c084d57ff lightningd: channels own the peer. 7 years ago
Rusty Russell 6b71654351 lightningd: create new structure `channel` to hold per-channel info. 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Rusty Russell 3c22aaa213 htlc: move htlc structure into channeld. 7 years ago
Rusty Russell 7d3e074863 Misc feedback minor fixes. 7 years ago
Rusty Russell 6fa90c926a channeld: exit after shutdown when no more HTLCs. 7 years ago
Christian Decker f9a2f73072 Addressing feedback from PR #187 7 years ago
Christian Decker 70f4484ba8 channeld: Pass through the agreed feerate_per_kw to channeld 7 years ago
Rusty Russell b600e6118c lightningd/channel: hand commit_index in when creating txs only. 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 b07b1c1690 channeld: dump htlc transitions. 7 years ago
Rusty Russell 7105085801 lightningd/channel: hand back changed htlcs, not callbacks. 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 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 3a9c559dc6 lightningd/channel: quote BOLT #2 for checking expiry. 8 years ago
Rusty Russell c64447a929 lightningd/derive_basepoints: hoist derivation logic. 8 years ago
Rusty Russell 5514f4fadf lightningd/channel.h: fix comment typo. 8 years ago
Rusty Russell 4a7418e3db channel: object to track channel state. 8 years ago