mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
da81d4bced
Now that "peer->channels" contains `unsaved` channels, skip overthem where appropriate
25 lines
680 B
C
25 lines
680 B
C
#ifndef LIGHTNING_LIGHTNINGD_DUAL_OPEN_CONTROL_H
|
|
#define LIGHTNING_LIGHTNINGD_DUAL_OPEN_CONTROL_H
|
|
|
|
#include "config.h"
|
|
#include <lightningd/subd.h>
|
|
|
|
struct per_peer_state;
|
|
|
|
void peer_start_dualopend(struct peer *peer,
|
|
struct per_peer_state *pps,
|
|
const u8 *send_msg);
|
|
|
|
void peer_restart_dualopend(struct peer *peer,
|
|
struct per_peer_state *pps,
|
|
struct channel *channel,
|
|
const u8 *send_msg);
|
|
|
|
void dualopen_tell_depth(struct subd *dualopend,
|
|
struct channel *channel,
|
|
const struct bitcoin_txid *txid,
|
|
u32 depth);
|
|
void kill_unsaved_channel(struct channel *channel,
|
|
const char *why);
|
|
#endif /* LIGHTNING_LIGHTNINGD_DUAL_OPEN_CONTROL_H */
|