mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 23:06:44 +01:00
It handles all the cases of retransmission, and in the normal case retransmits shutdown and immediately returns for us to run closingd. This is actually far simpler and reduces code duplication. [ Includes fixup to stop warn_unused_result from Christian ] Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: Protocol: We could get stuck on signature exchange if we needed to retransmit the final revoke_and_ack.
12 lines
333 B
C
12 lines
333 B
C
#ifndef LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
|
|
#define LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
|
|
struct channel;
|
|
struct per_peer_state;
|
|
|
|
void peer_start_closingd(struct channel *channel,
|
|
struct per_peer_state *pps);
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H */
|