mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
dual-fund: accepter side implementation on lightningd
wherein we add the dual_open_control functions
This commit is contained in:
@@ -8,6 +8,7 @@ LIGHTNINGD_SRC := \
|
|||||||
lightningd/closing_control.c \
|
lightningd/closing_control.c \
|
||||||
lightningd/coin_mvts.c \
|
lightningd/coin_mvts.c \
|
||||||
lightningd/connect_control.c \
|
lightningd/connect_control.c \
|
||||||
|
lightningd/dual_open_control.c \
|
||||||
lightningd/onion_message.c \
|
lightningd/onion_message.c \
|
||||||
lightningd/gossip_control.c \
|
lightningd/gossip_control.c \
|
||||||
lightningd/gossip_msg.c \
|
lightningd/gossip_msg.c \
|
||||||
@@ -100,6 +101,7 @@ LIGHTNINGD_COMMON_OBJS := \
|
|||||||
common/penalty_base.o \
|
common/penalty_base.o \
|
||||||
common/per_peer_state.o \
|
common/per_peer_state.o \
|
||||||
common/permute_tx.o \
|
common/permute_tx.o \
|
||||||
|
common/psbt_open.o \
|
||||||
common/pseudorand.o \
|
common/pseudorand.o \
|
||||||
common/random_select.o \
|
common/random_select.o \
|
||||||
common/setup.o \
|
common/setup.o \
|
||||||
|
|||||||
1038
lightningd/dual_open_control.c
Normal file
1038
lightningd/dual_open_control.c
Normal file
File diff suppressed because it is too large
Load Diff
11
lightningd/dual_open_control.h
Normal file
11
lightningd/dual_open_control.h
Normal 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 */
|
||||||
Reference in New Issue
Block a user