core-lightning/plugins/spender/openchannel.h
niftynei c90a19f739 mfc-df: only add outputs for v1 outs; go to openchannel_update if v2s
We only have output scripts for v1 protocols after the
fundchannel_start/openchannel_init round. We need to add them before
we get into the openchannel_update rounds, however, so we do that here.
2020-11-23 12:41:05 -06:00

25 lines
737 B
C

#ifndef LIGHTNING_PLUGINS_SPENDER_OPENCHANNEL_H
#define LIGHTNING_PLUGINS_SPENDER_OPENCHANNEL_H
#include "config.h"
#include <ccan/tal/tal.h>
struct wally_psbt;
extern const struct plugin_notification openchannel_notifs[];
extern const size_t num_openchannel_notifs;
/* register_mfc - Register to listen for incoming
* peer signature notifications */
void register_mfc(struct multifundchannel_command *mfc);
struct command_result *
openchannel_init_dest(struct multifundchannel_destination *dest);
void openchannel_init(struct plugin *p, const char *b,
const jsmntok_t *t);
struct command_result *
perform_openchannel_update(struct multifundchannel_command *mfc);
#endif /* LIGHTNING_PLUGINS_SPENDER_OPENCHANNEL_H */