Browse Source

dual-fund: accepter side implementation on lightningd

wherein we add the dual_open_control functions
bump-pyln-proto
niftynei 4 years ago
committed by Rusty Russell
parent
commit
59525853ae
  1. 2
      lightningd/Makefile
  2. 1038
      lightningd/dual_open_control.c
  3. 11
      lightningd/dual_open_control.h

2
lightningd/Makefile

@ -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

File diff suppressed because it is too large

11
lightningd/dual_open_control.h

@ -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…
Cancel
Save