mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
openingd: tell gossipd that the peer is important once funding tx in place.
And on channel_fail_permanent and closing (the two places we drop to chain), we tell gossipd it's no longer important. Fixes: #1316 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -61,9 +61,6 @@ struct peer *new_peer(struct lightningd *ld, u64 dbid,
|
||||
/* Also removes from db. */
|
||||
void delete_peer(struct peer *peer);
|
||||
|
||||
/* Tell gossipd to try to reconnect (unless --dev-no-reconnect) */
|
||||
void try_reconnect(struct peer *peer);
|
||||
|
||||
struct peer *peer_by_id(struct lightningd *ld, const struct pubkey *id);
|
||||
struct peer *peer_from_json(struct lightningd *ld,
|
||||
const char *buffer,
|
||||
|
||||
Reference in New Issue
Block a user