2018-02-21 07:29:04 +10:30
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/short_types/short_types.h>
|
2019-12-03 15:48:18 +01:00
|
|
|
#include <lightningd/peer_control.h>
|
2018-02-21 07:29:04 +10:30
|
|
|
|
|
|
|
struct channel_id;
|
|
|
|
struct crypto_state;
|
2018-10-19 11:47:49 +10:30
|
|
|
struct json_stream;
|
2018-02-21 07:29:04 +10:30
|
|
|
struct lightningd;
|
2022-01-11 11:43:59 +10:30
|
|
|
struct peer_fd;
|
2018-02-21 07:29:04 +10:30
|
|
|
struct uncommitted_channel;
|
|
|
|
|
2018-10-19 11:47:49 +10:30
|
|
|
void json_add_uncommitted_channel(struct json_stream *response,
|
2023-01-12 11:45:10 +10:30
|
|
|
const struct uncommitted_channel *uc,
|
|
|
|
/* Only set for listpeerchannels */
|
|
|
|
const struct peer *peer);
|
2018-02-21 07:29:04 +10:30
|
|
|
|
2022-03-23 06:57:29 +10:30
|
|
|
bool peer_start_openingd(struct peer *peer,
|
2022-01-11 11:43:59 +10:30
|
|
|
struct peer_fd *peer_fd);
|
2018-02-21 07:29:04 +10:30
|
|
|
|
2019-12-03 15:48:18 +01:00
|
|
|
struct subd *peer_get_owning_subd(struct peer *peer);
|
|
|
|
|
2018-02-21 07:29:04 +10:30
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H */
|