core-lightning/lightningd/opening_control.h
Rusty Russell 4e086f28c3 lightningd: remove channels from listpeers.
Changelog-Removed: JSON-RPC: `listpeers` `channels` (deprecated v23.02, EOL v24.02)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-03-25 15:02:35 +10:30

23 lines
673 B
C

#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;
struct peer_fd;
struct uncommitted_channel;
void NON_NULL_ARGS(1, 3) json_add_uncommitted_channel(struct json_stream *response,
const struct uncommitted_channel *uc,
const struct peer *peer);
bool peer_start_openingd(struct peer *peer,
struct peer_fd *peer_fd);
struct subd *peer_get_owning_subd(struct peer *peer);
#endif /* LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H */