Skip to content

Commit 80a968e

Browse files
Remove pow-miner (#1683)
1 parent ffa872c commit 80a968e

14 files changed

+16
-823
lines changed

assembly/native/build-macos-portable.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ test $? -eq 0 || { echo "Can't configure ton"; exit 1; }
150150
if [ "$with_tests" = true ]; then
151151
ninja storage-daemon storage-daemon-cli blockchain-explorer \
152152
tonlib tonlibjson tonlib-cli validator-engine func tolk fift \
153-
lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server \
153+
lite-client validator-engine-console generate-random-id json2tlo dht-server \
154154
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator \
155155
test-ed25519 test-ed25519-crypto test-bigint test-vm test-fift test-cells test-smartcont \
156156
test-net test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp \
@@ -159,7 +159,7 @@ if [ "$with_tests" = true ]; then
159159
else
160160
ninja storage-daemon storage-daemon-cli blockchain-explorer \
161161
tonlib tonlibjson tonlib-cli validator-engine func tolk fift \
162-
lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server \
162+
lite-client validator-engine-console generate-random-id json2tlo dht-server \
163163
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator proxy-liteserver
164164
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
165165
fi

assembly/native/build-macos-shared.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ test $? -eq 0 || { echo "Can't configure ton"; exit 1; }
7575
if [ "$with_tests" = true ]; then
7676
ninja storage-daemon storage-daemon-cli blockchain-explorer \
7777
tonlib tonlibjson tonlib-cli validator-engine func tolk fift \
78-
lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server \
78+
lite-client validator-engine-console generate-random-id json2tlo dht-server \
7979
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator \
8080
test-ed25519 test-ed25519-crypto test-bigint test-vm test-fift test-cells test-smartcont \
8181
test-net test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp \
@@ -84,7 +84,7 @@ if [ "$with_tests" = true ]; then
8484
else
8585
ninja storage-daemon storage-daemon-cli blockchain-explorer \
8686
tonlib tonlibjson tonlib-cli validator-engine func tolk fift \
87-
lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server \
87+
lite-client validator-engine-console generate-random-id json2tlo dht-server \
8888
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator proxy-liteserver
8989
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
9090
fi

assembly/native/build-ubuntu-appimages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ test $? -eq 0 || { echo "Can't configure ton"; exit 1; }
6060

6161
if [ "$with_tests" = true ]; then
6262
ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-cli \
63-
validator-engine lite-client pow-miner validator-engine-console blockchain-explorer \
63+
validator-engine lite-client validator-engine-console blockchain-explorer \
6464
generate-random-id json2tlo dht-server http-proxy rldp-http-proxy \
6565
adnl-proxy create-state emulator test-ed25519 test-ed25519-crypto test-bigint \
6666
test-vm test-fift test-cells test-smartcont test-net test-tdactor test-tdutils \
@@ -69,7 +69,7 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
6969
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
7070
else
7171
ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-cli \
72-
validator-engine lite-client pow-miner validator-engine-console blockchain-explorer \
72+
validator-engine lite-client validator-engine-console blockchain-explorer \
7373
generate-random-id json2tlo dht-server http-proxy rldp-http-proxy \
7474
adnl-proxy create-state emulator proxy-liteserver
7575
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }

assembly/native/build-ubuntu-portable.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ test $? -eq 0 || { echo "Can't configure ton"; exit 1; }
134134

135135
if [ "$with_tests" = true ]; then
136136
ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-cli \
137-
validator-engine lite-client pow-miner validator-engine-console blockchain-explorer \
137+
validator-engine lite-client validator-engine-console blockchain-explorer \
138138
generate-random-id json2tlo dht-server http-proxy rldp-http-proxy \
139139
adnl-proxy create-state emulator test-ed25519 test-ed25519-crypto test-bigint \
140140
test-vm test-fift test-cells test-smartcont test-net test-tdactor test-tdutils \
@@ -143,7 +143,7 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
143143
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
144144
else
145145
ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-cli \
146-
validator-engine lite-client pow-miner validator-engine-console blockchain-explorer \
146+
validator-engine lite-client validator-engine-console blockchain-explorer \
147147
generate-random-id json2tlo dht-server http-proxy rldp-http-proxy \
148148
adnl-proxy create-state emulator proxy-liteserver
149149
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }

assembly/native/build-ubuntu-shared.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ test $? -eq 0 || { echo "Can't configure ton"; exit 1; }
6363

6464
if [ "$with_tests" = true ]; then
6565
ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-cli \
66-
validator-engine lite-client pow-miner validator-engine-console blockchain-explorer \
66+
validator-engine lite-client validator-engine-console blockchain-explorer \
6767
generate-random-id json2tlo dht-server http-proxy rldp-http-proxy \
6868
adnl-proxy create-state emulator test-ed25519 test-ed25519-crypto test-bigint \
6969
test-vm test-fift test-cells test-smartcont test-net test-tdactor test-tdutils \
@@ -72,7 +72,7 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
7272
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
7373
else
7474
ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-cli \
75-
validator-engine lite-client pow-miner validator-engine-console blockchain-explorer \
75+
validator-engine lite-client validator-engine-console blockchain-explorer \
7676
generate-random-id json2tlo dht-server http-proxy rldp-http-proxy \
7777
adnl-proxy create-state emulator proxy-liteserver
7878
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }

assembly/native/build-windows-2019.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ IF %errorlevel% NEQ 0 (
145145

146146
IF "%1"=="-t" (
147147
ninja storage-daemon storage-daemon-cli blockchain-explorer fift func tolk tonlib tonlibjson ^
148-
tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id ^
148+
tonlib-cli validator-engine lite-client validator-engine-console generate-random-id ^
149149
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator ^
150150
test-ed25519 test-ed25519-crypto test-bigint test-vm test-fift test-cells test-smartcont test-net ^
151151
test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp test-rldp2 test-catchain ^
@@ -156,7 +156,7 @@ IF %errorlevel% NEQ 0 (
156156
)
157157
) else (
158158
ninja storage-daemon storage-daemon-cli blockchain-explorer fift func tolk tonlib tonlibjson ^
159-
tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id ^
159+
tonlib-cli validator-engine lite-client validator-engine-console generate-random-id ^
160160
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator proxy-liteserver
161161
IF %errorlevel% NEQ 0 (
162162
echo Can't compile TON

assembly/native/build-windows.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ IF %errorlevel% NEQ 0 (
145145

146146
IF "%1"=="-t" (
147147
ninja storage-daemon storage-daemon-cli blockchain-explorer fift func tolk tonlib tonlibjson ^
148-
tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id ^
148+
tonlib-cli validator-engine lite-client validator-engine-console generate-random-id ^
149149
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator ^
150150
test-ed25519 test-ed25519-crypto test-bigint test-vm test-fift test-cells test-smartcont test-net ^
151151
test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp test-rldp2 test-catchain ^
@@ -156,7 +156,7 @@ IF %errorlevel% NEQ 0 (
156156
)
157157
) else (
158158
ninja storage-daemon storage-daemon-cli blockchain-explorer fift func tolk tonlib tonlibjson ^
159-
tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id ^
159+
tonlib-cli validator-engine lite-client validator-engine-console generate-random-id ^
160160
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator proxy-liteserver
161161
IF %errorlevel% NEQ 0 (
162162
echo Can't compile TON

crypto/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -421,16 +421,8 @@ if (WINGETOPT_FOUND)
421421
target_link_libraries_system(tlbc wingetopt)
422422
endif()
423423

424-
add_library(pow-miner-lib util/Miner.cpp util/Miner.h)
425-
target_include_directories(pow-miner-lib PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
426-
target_link_libraries(pow-miner-lib PUBLIC ton_crypto)
427-
428-
add_executable(pow-miner util/pow-miner.cpp)
429-
target_link_libraries(pow-miner PRIVATE ton_crypto pow-miner-lib git)
430-
431424
if (WINGETOPT_FOUND)
432425
target_link_libraries_system(fift wingetopt)
433-
target_link_libraries_system(pow-miner wingetopt)
434426
endif()
435427

436428
add_executable(mintless-proof-generator util/mintless-proof-generator.cpp)

crypto/util/Miner.cpp

Lines changed: 0 additions & 129 deletions
This file was deleted.

crypto/util/Miner.h

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)