mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 00:54:20 +01:00
Move pkt.c into test-cli.
We use cryptopkt for normal cases. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
7
Makefile
7
Makefile
@@ -58,12 +58,11 @@ CORE_SRC := \
|
|||||||
lightning.pb-c.c \
|
lightning.pb-c.c \
|
||||||
opt_bits.c \
|
opt_bits.c \
|
||||||
permute_tx.c \
|
permute_tx.c \
|
||||||
pkt.c \
|
|
||||||
protobuf_convert.c \
|
protobuf_convert.c \
|
||||||
version.c
|
version.c
|
||||||
CORE_OBJS := $(CORE_SRC:.c=.o)
|
CORE_OBJS := $(CORE_SRC:.c=.o)
|
||||||
|
|
||||||
TEST_CLI_SRC := test-cli/gather_updates.c
|
TEST_CLI_SRC := test-cli/gather_updates.c test-cli/pkt.c
|
||||||
TEST_CLI_OBJS := $(TEST_CLI_SRC:.c=.o)
|
TEST_CLI_OBJS := $(TEST_CLI_SRC:.c=.o)
|
||||||
|
|
||||||
CCAN_OBJS := \
|
CCAN_OBJS := \
|
||||||
@@ -143,7 +142,8 @@ CCAN_HEADERS := \
|
|||||||
$(CCANDIR)/ccan/time/time.h \
|
$(CCANDIR)/ccan/time/time.h \
|
||||||
$(CCANDIR)/ccan/typesafe_cb/typesafe_cb.h
|
$(CCANDIR)/ccan/typesafe_cb/typesafe_cb.h
|
||||||
|
|
||||||
TEST_CLI_HEADERS := test-cli/gather_updates.h
|
TEST_CLI_HEADERS := test-cli/gather_updates.h \
|
||||||
|
test-cli/pkt.h
|
||||||
|
|
||||||
BITCOIN_HEADERS := bitcoin/address.h \
|
BITCOIN_HEADERS := bitcoin/address.h \
|
||||||
bitcoin/base58.h \
|
bitcoin/base58.h \
|
||||||
@@ -162,7 +162,6 @@ CORE_HEADERS := close_tx.h \
|
|||||||
opt_bits.h \
|
opt_bits.h \
|
||||||
overflows.h \
|
overflows.h \
|
||||||
permute_tx.h \
|
permute_tx.h \
|
||||||
pkt.h \
|
|
||||||
protobuf_convert.h \
|
protobuf_convert.h \
|
||||||
state.h \
|
state.h \
|
||||||
state_types.h \
|
state_types.h \
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
#include "bitcoin/tx.h"
|
#include "bitcoin/tx.h"
|
||||||
#include "close_tx.h"
|
#include "close_tx.h"
|
||||||
#include "permute_tx.h"
|
#include "permute_tx.h"
|
||||||
#include "pkt.h"
|
|
||||||
#include "protobuf_convert.h"
|
#include "protobuf_convert.h"
|
||||||
|
|
||||||
struct bitcoin_tx *create_close_tx(const tal_t *ctx,
|
struct bitcoin_tx *create_close_tx(const tal_t *ctx,
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
#include "funding.h"
|
#include "funding.h"
|
||||||
#include "overflows.h"
|
#include "overflows.h"
|
||||||
#include "permute_tx.h"
|
#include "permute_tx.h"
|
||||||
#include "pkt.h"
|
|
||||||
#include "protobuf_convert.h"
|
#include "protobuf_convert.h"
|
||||||
|
|
||||||
static bool add_htlc(struct bitcoin_tx *tx, size_t n,
|
static bool add_htlc(struct bitcoin_tx *tx, size_t n,
|
||||||
|
|||||||
Reference in New Issue
Block a user