core-lightning/lightningd/opening_control.h

23 lines
610 B
C
Raw Normal View History

#ifndef LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
#define LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
#include "config.h"
#include <ccan/short_types/short_types.h>
#include <lightningd/peer_control.h>
struct channel_id;
struct crypto_state;
struct json_stream;
struct lightningd;
2022-01-11 02:13:59 +01:00
struct peer_fd;
struct uncommitted_channel;
void json_add_uncommitted_channel(struct json_stream *response,
const struct uncommitted_channel *uc);
bool peer_start_openingd(struct peer *peer,
2022-01-11 02:13:59 +01:00
struct peer_fd *peer_fd);
struct subd *peer_get_owning_subd(struct peer *peer);
#endif /* LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H */