mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +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:
parent
b312114719
commit
906a5e4a32
7
Makefile
7
Makefile
@ -58,12 +58,11 @@ CORE_SRC := \
|
||||
lightning.pb-c.c \
|
||||
opt_bits.c \
|
||||
permute_tx.c \
|
||||
pkt.c \
|
||||
protobuf_convert.c \
|
||||
version.c
|
||||
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)
|
||||
|
||||
CCAN_OBJS := \
|
||||
@ -143,7 +142,8 @@ CCAN_HEADERS := \
|
||||
$(CCANDIR)/ccan/time/time.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/base58.h \
|
||||
@ -162,7 +162,6 @@ CORE_HEADERS := close_tx.h \
|
||||
opt_bits.h \
|
||||
overflows.h \
|
||||
permute_tx.h \
|
||||
pkt.h \
|
||||
protobuf_convert.h \
|
||||
state.h \
|
||||
state_types.h \
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include "bitcoin/tx.h"
|
||||
#include "close_tx.h"
|
||||
#include "permute_tx.h"
|
||||
#include "pkt.h"
|
||||
#include "protobuf_convert.h"
|
||||
|
||||
struct bitcoin_tx *create_close_tx(const tal_t *ctx,
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "funding.h"
|
||||
#include "overflows.h"
|
||||
#include "permute_tx.h"
|
||||
#include "pkt.h"
|
||||
#include "protobuf_convert.h"
|
||||
|
||||
static bool add_htlc(struct bitcoin_tx *tx, size_t n,
|
||||
|
Loading…
Reference in New Issue
Block a user