126 Commits (e99335e5b306de979bfa85f6ebbd8f61e374b61d)

Author SHA1 Message Date
Rusty Russell a5ecc95c42 db: store claimed per_commitment_point from option_data_loss_protect. 6 years ago
Rusty Russell 43156643b4 lightningd: message for channeld to tell us that channel risks penalty. 6 years ago
Rusty Russell 223cd97c94 lightningd: kill channeld if we added an HTLC and it didn't commit in 30 seconds. 6 years ago
Rusty Russell d8d4b19f3a connectd: remove separate address hint message. 6 years ago
Rusty Russell 8939a5001b connectd: rely on the master to tell us to reconnect. 6 years ago
Rusty Russell 909cd4136b openingd: get told if we can't let them open a new channel. 6 years ago
Rusty Russell 8bffd2b604 lightningd: centralize refcounting behaviour for peers. 7 years ago
Rusty Russell 5c066b9a25 connectd: wean off gossip_wire message types, use our own. 7 years ago
Rusty Russell 3d3d2ef9af gossipd: remove connectd functionality, enable connectd. 7 years ago
Rusty Russell 231f14e645 lightningd: get basepoints from hsmd, don't ever get seed. 7 years ago
Rusty Russell f456fdfab1 lightningd: keep local_basepoints and local_funding_pubkey. 7 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 7 years ago
Christian Decker 8e278044e3 gossip: Disable channels when we lose the connection to the peer 7 years ago
Rusty Russell 435e85a5b2 lightningd: move "tell gossipd peer is no longer important" to drop_to_chain. 7 years ago
Rusty Russell be1f33b265 gossipd: have master explicitly tell us when peer is disconnected. 7 years ago
Rusty Russell 8c2c1fe1c2 openingd: tell gossipd that the peer is important once funding tx in place. 7 years ago
Christian Decker f44ea9f32e channel: Allow channel lookup by database id 7 years ago
Rusty Russell 05ba976a41 lightningd: --dev-no-reconnect needs to always suppress reconnection. 7 years ago
ZmnSCPxj 2cee1ab20f peer_control: Make close wait for complete closure, with timeout. 7 years ago
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 7e9750ffee Reduce variable scopes 7 years ago
ZmnSCPxj 234d67da34 channel_fail_permanent: Use a channel-level error, not an all-channels error. 7 years ago
Rusty Russell e63b7bb539 take: allocate temporary variables off NULL. 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 cca0a5412e subd: clear transient billboard on start and shutdown. 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 369d3ab46e fixup! Close memory leak, make error exposure DEVELOPER=1 only. 7 years ago
Rusty Russell 9842e32e06 lightningd: expose internal error information. 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 8f48a72d74 lightningd: remove peer->log in favor of channel->log. 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 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. 8 years ago