Browse Source

Move hacky command line utils out to test-cli subdir.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 10 years ago
parent
commit
4e8eda47a1
  1. 5
      Makefile
  2. 0
      test-cli/check-anchor-scriptsigs.c
  3. 0
      test-cli/check-commit-sig.c
  4. 0
      test-cli/close-channel.c
  5. 0
      test-cli/create-close-tx.c
  6. 0
      test-cli/create-commit-spend-tx.c
  7. 0
      test-cli/create-commit-tx.c
  8. 0
      test-cli/create-steal-tx.c
  9. 0
      test-cli/get-anchor-depth.c
  10. 0
      test-cli/leak-anchor-sigs.c
  11. 0
      test-cli/open-anchor-scriptsigs.c
  12. 0
      test-cli/open-channel.c
  13. 0
      test-cli/open-commit-sig.c
  14. 0
      test-cli/update-channel-accept.c
  15. 0
      test-cli/update-channel-complete.c
  16. 0
      test-cli/update-channel-signature.c
  17. 0
      test-cli/update-channel.c

5
Makefile

@ -3,7 +3,7 @@
# Needs to have oneof support: Ubuntu vivid's is too old :(
PROTOCC:=protoc-c
PROGRAMS := open-channel open-anchor-scriptsigs leak-anchor-sigs open-commit-sig check-commit-sig check-anchor-scriptsigs get-anchor-depth create-steal-tx create-commit-spend-tx close-channel create-close-tx update-channel update-channel-accept update-channel-signature update-channel-complete create-commit-tx
PROGRAMS := test-cli/open-channel test-cli/open-anchor-scriptsigs test-cli/leak-anchor-sigs test-cli/open-commit-sig test-cli/check-commit-sig test-cli/check-anchor-scriptsigs test-cli/get-anchor-depth test-cli/create-steal-tx test-cli/create-commit-spend-tx test-cli/close-channel test-cli/create-close-tx test-cli/update-channel test-cli/update-channel-accept test-cli/update-channel-signature test-cli/update-channel-complete test-cli/create-commit-tx
BITCOIN_OBJS := bitcoin/address.o bitcoin/base58.o bitcoin/pubkey.o bitcoin/script.o bitcoin/shadouble.o bitcoin/signature.o bitcoin/tx.o
@ -14,8 +14,9 @@ CCAN_OBJS := ccan-crypto-sha256.o ccan-crypto-shachain.o ccan-err.o ccan-tal.o c
HEADERS := $(wildcard *.h)
CCANDIR := ../ccan/
CFLAGS := -g -Wall -I $(CCANDIR) #-I $(PROTO_INCLUDE_DIR)
CFLAGS := -g -Wall -I $(CCANDIR)
LDLIBS := -lcrypto -lprotobuf-c
$(PROGRAMS): CFLAGS+=-I.
default: $(PROGRAMS)

0
check-anchor-scriptsigs.c → test-cli/check-anchor-scriptsigs.c

0
check-commit-sig.c → test-cli/check-commit-sig.c

0
close-channel.c → test-cli/close-channel.c

0
create-close-tx.c → test-cli/create-close-tx.c

0
create-commit-spend-tx.c → test-cli/create-commit-spend-tx.c

0
create-commit-tx.c → test-cli/create-commit-tx.c

0
create-steal-tx.c → test-cli/create-steal-tx.c

0
get-anchor-depth.c → test-cli/get-anchor-depth.c

0
leak-anchor-sigs.c → test-cli/leak-anchor-sigs.c

0
open-anchor-scriptsigs.c → test-cli/open-anchor-scriptsigs.c

0
open-channel.c → test-cli/open-channel.c

0
open-commit-sig.c → test-cli/open-commit-sig.c

0
update-channel-accept.c → test-cli/update-channel-accept.c

0
update-channel-complete.c → test-cli/update-channel-complete.c

0
update-channel-signature.c → test-cli/update-channel-signature.c

0
update-channel.c → test-cli/update-channel.c

Loading…
Cancel
Save