dual-fund: accepter side implementation on lightningd

wherein we add the dual_open_control functions
This commit is contained in:
niftynei 2020-09-09 19:40:28 +09:30 committed by Rusty Russell
parent d6558deaa4
commit 59525853ae
3 changed files with 1051 additions and 0 deletions

View file

@ -8,6 +8,7 @@ LIGHTNINGD_SRC := \
lightningd/closing_control.c \
lightningd/coin_mvts.c \
lightningd/connect_control.c \
lightningd/dual_open_control.c \
lightningd/onion_message.c \
lightningd/gossip_control.c \
lightningd/gossip_msg.c \
@ -100,6 +101,7 @@ LIGHTNINGD_COMMON_OBJS := \
common/penalty_base.o \
common/per_peer_state.o \
common/permute_tx.o \
common/psbt_open.o \
common/pseudorand.o \
common/random_select.o \
common/setup.o \

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,11 @@
#ifndef LIGHTNING_LIGHTNINGD_DUAL_OPEN_CONTROL_H
#define LIGHTNING_LIGHTNINGD_DUAL_OPEN_CONTROL_H
#include "config.h"
struct per_peer_state;
void peer_start_dualopend(struct peer *peer,
struct per_peer_state *pps,
const u8 *send_msg);
#endif /* LIGHTNING_LIGHTNINGD_DUAL_OPEN_CONTROL_H */