Skip to content

Commit

Permalink
Remove anyone-can-pay (#78)
Browse files Browse the repository at this point in the history
* Remove anyone-can-pay
  • Loading branch information
mohanson authored Feb 1, 2024
1 parent c643c18 commit 5d68d57
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 2,146 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ PASSED_MBEDTLS_CFLAGS := -O3 -fPIC -nostdinc -nostdlib -DCKB_DECLARATION_ONLY -I
BUILDER_DOCKER := nervos/ckb-riscv-gnu-toolchain@sha256:aae8a3f79705f67d505d1f1d5ddc694a4fd537ed1c7e9622420a470d59ba2ec3
CLANG_FORMAT_DOCKER := kason223/clang-format@sha256:3cce35b0400a7d420ec8504558a02bdfc12fd2d10e40206f140c4545059cd95d

all: build/simple_udt build/anyone_can_pay build/always_success build/validate_signature_rsa build/xudt_rce build/rce_validator \
$(SECP256K1_SRC_20210801) build/secp256k1_data_info_20210801.h
all: build/simple_udt build/always_success build/validate_signature_rsa build/xudt_rce build/rce_validator \
$(SECP256K1_SRC_20210801) build/secp256k1_data_info.h build/secp256k1_data_info_20210801.h

all-via-docker: ${PROTOCOL_HEADER}
docker run --rm -v `pwd`:/code ${BUILDER_DOCKER} bash -c "cd /code && make"
Expand All @@ -36,11 +36,6 @@ build/simple_udt: c/simple_udt.c
$(OBJCOPY) --only-keep-debug $@ $@.debug
$(OBJCOPY) --strip-debug --strip-all $@

build/anyone_can_pay: c/anyone_can_pay.c ${PROTOCOL_HEADER} c/secp256k1_lock.h build/secp256k1_data_info.h $(SECP256K1_SRC)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
$(OBJCOPY) --only-keep-debug $@ $@.debug
$(OBJCOPY) --strip-debug --strip-all $@

build/always_success: c/always_success.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
$(OBJCOPY) --only-keep-debug $@ $@.debug
Expand Down Expand Up @@ -168,7 +163,6 @@ package-clean:

clean:
rm -rf build/simple_udt
rm -rf build/anyone_can_pay
rm -rf build/secp256k1_data_info.h build/dump_secp256k1_data
rm -rf build/secp256k1_data_info_20210801.h build/dump_secp256k1_data_20210801
rm -rf build/secp256k1_data
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ make all-via-docker
### RFC and Deployment

* [sUDT](https://github.com/nervosnetwork/rfcs/blob/master/rfcs/0025-simple-udt/0025-simple-udt.md)
* [Anyone Can Pay](https://github.com/nervosnetwork/rfcs/blob/master/rfcs/0026-anyone-can-pay/0026-anyone-can-pay.md)
* [xUDT](https://github.com/nervosnetwork/rfcs/pull/428)

### Omnilock
Expand Down
4 changes: 0 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ const BINARIES: &[(&str, &str)] = &[
"secp256k1_data",
"9799bee251b975b82c45a02154ce28cec89c5853ecc14d12b7b8cccfc19e0af4",
),
(
"anyone_can_pay",
"cd69ba816f7471e59110058aa37387c362ed9a240cd178f7bb1ecee386cb31e6",
),
(
"simple_udt",
"e1e354d6d643ad42724d40967e334984534e0367405c5ae42a9d7d63d77df419",
Expand Down
328 changes: 0 additions & 328 deletions c/anyone_can_pay.c

This file was deleted.

4 changes: 0 additions & 4 deletions c/defs.h

This file was deleted.

Loading

0 comments on commit 5d68d57

Please sign in to comment.