Skip to content

Commit

Permalink
remove SuperBitcoin, fix build issue for BCH/BSV
Browse files Browse the repository at this point in the history
  • Loading branch information
SwimmingTiger committed Mar 27, 2020
1 parent fa0705c commit fd76b3c
Show file tree
Hide file tree
Showing 21 changed files with 12 additions and 445 deletions.
8 changes: 1 addition & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ endif()
#
# Chain Type
#
set(SUPPORTED_CHAIN_TYPES "BTC|BCH|BSV|UBTC|SBTC|LTC|ZEC")
set(SUPPORTED_CHAIN_TYPES "BTC|BCH|BSV|UBTC|LTC|ZEC")
if(NOT CHAIN_TYPE)
message(FATAL_ERROR "Chain type not defined! (-DCHAIN_TYPE=${SUPPORTED_CHAIN_TYPES})")
endif()
Expand Down Expand Up @@ -91,12 +91,6 @@ elseif(CHAIN_TYPE STREQUAL "UBTC")
set(POOL__DEB_PACKNAME_POSTFIX "${POOL__DEB_PACKNAME_POSTFIX}-unitedbitcoin")
set(POOL__DEFAULT_INSTALL_PREFIX "/work/btcpool.ubtc")

# SuperBitcoin
elseif(CHAIN_TYPE STREQUAL "SBTC")
set(CHAIN_NAME "Super Bitcoin")
set(POOL__DEB_PACKNAME_POSTFIX "${POOL__DEB_PACKNAME_POSTFIX}-superbitcoin")
set(POOL__DEFAULT_INSTALL_PREFIX "/work/btcpool.sbtc")

# Litecoin
elseif(CHAIN_TYPE STREQUAL "LTC")
set(CHAIN_NAME "Litecoin")
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ The pool backend support these blockchains at current:
* [Bitcoin](https://bitcoin.org/)
* [BitcoinCash](https://bitcoincash.org/)
* [UnitedBitcoin](https://ub.com/)
* ~~[SuperBitcoin](http://supersmartbitcoin.com/)~~ (outdated and unmaintained)
* Scrypt
* [Litecoin](https://litecoin.org/)
* ETHash / Daggerhashimoto
Expand Down
81 changes: 0 additions & 81 deletions docker/btcpool/base-image/Dockerfile.sbtc

This file was deleted.

3 changes: 0 additions & 3 deletions docker/btcpool/base-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ docker build -t btccom/btcpool_build:bsv-1.0.1 -f Dockerfile.bsv --build-arg BUI
# UBTC
docker build -t btccom/btcpool_build:ubtc-2.5.0.1-1 -f Dockerfile.ubtc --build-arg BUILD_JOBS=$(nproc) .
# SBTC (outdated)
docker build -t btccom/btcpool_build:sbtc-0.16.2 -f Dockerfile.sbtc --build-arg BUILD_JOBS=$(nproc) .
# LTC
docker build -t btccom/btcpool_build:ltc-0.16.3 -f Dockerfile.ltc --build-arg BUILD_JOBS=$(nproc) .
Expand Down
9 changes: 0 additions & 9 deletions docker/btcpool/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ See [here](../base-image/).
# UBTC
./build.sh -t btccom/btcpool-ubtc -b btccom/btcpool_build:ubtc-2.5.0.1-1 -j$(nproc)
# SBTC (outdated)
./build.sh -t btccom/btcpool-sbtc -b btccom/btcpool_build:sbtc-0.16.2 -j$(nproc)
# LTC
./build.sh -t btccom/btcpool-ltc -b btccom/btcpool_build:ltc-0.16.3 -j$(nproc)
Expand All @@ -75,9 +72,6 @@ docker build -t btccom/btcpool-bsv -f Dockerfile --build-arg BASE_IMAGE=btccom/b
# UBTC
docker build -t btccom/btcpool-ubtc -f Dockerfile --build-arg BASE_IMAGE=btccom/btcpool_build:ubtc-2.5.0.1-1 --build-arg BUILD_JOBS=$(nproc) --build-arg GIT_DESCRIBE=$(git describe --tag --long) ../../..
# SBTC (outdated)
docker build -t btccom/btcpool-sbtc -f Dockerfile --build-arg BASE_IMAGE=btccom/btcpool_build:sbtc-0.16.2 --build-arg BUILD_JOBS=$(nproc) --build-arg GIT_DESCRIBE=$(git describe --tag --long) ../../..
# LTC
docker build -t btccom/btcpool-ltc -f Dockerfile --build-arg BASE_IMAGE=btccom/btcpool_build:ltc-0.16.3 --build-arg BUILD_JOBS=$(nproc) --build-arg GIT_DESCRIBE=$(git describe --tag --long) ../../..
Expand All @@ -103,9 +97,6 @@ docker run -it --rm btccom/btcpool-bsv unittest
# UBTC
docker run -it --rm btccom/btcpool-ubtc unittest
# SBTC (outdated)
docker run -it --rm btccom/btcpool-sbtc unittest
# LTC
docker run -it --rm btccom/btcpool-ltc unittest
Expand Down
66 changes: 0 additions & 66 deletions docker/super-bitcoin/v0.16.2/Dockerfile

This file was deleted.

67 changes: 0 additions & 67 deletions docker/super-bitcoin/v0.16.2/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions docker/super-bitcoin/v0.16.2/crontab.txt

This file was deleted.

6 changes: 0 additions & 6 deletions docker/super-bitcoin/v0.16.2/logrotate-bitcoind

This file was deleted.

47 changes: 0 additions & 47 deletions docker/super-bitcoin/v0.16.2/opsgenie-monitor-bitcoind.sh

This file was deleted.

14 changes: 0 additions & 14 deletions docker/super-bitcoin/v0.16.2/run

This file was deleted.

14 changes: 0 additions & 14 deletions docker/super-bitcoin/v0.16.2/run_testnet3

This file was deleted.

10 changes: 0 additions & 10 deletions docker/super-bitcoin/v0.16.2/sources-aliyun.com.list

This file was deleted.

Loading

0 comments on commit fd76b3c

Please sign in to comment.