mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
dual-fund: accepter side implementation on lightningd
wherein we add the dual_open_control functions
This commit is contained in:
parent
d6558deaa4
commit
59525853ae
3 changed files with 1051 additions and 0 deletions
|
@ -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 \
|
||||
|
|
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 */
|
Loading…
Add table
Reference in a new issue