mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
common/per_per_state: generalize lightningd/peer_comm Part 1
Encapsulating the peer state was a win for lightningd; not surprisingly, it's even more of a win for the other daemons, especially as we want to add a little gossip information. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
|
||||
struct channel_id;
|
||||
struct crypto_state;
|
||||
struct peer_comms;
|
||||
struct per_peer_state;
|
||||
|
||||
void peer_start_closingd(struct channel *channel,
|
||||
struct peer_comms *pcomms,
|
||||
struct per_peer_state *pps,
|
||||
bool reconnected,
|
||||
const u8 *channel_reestablish);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user