1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-12 19:22:37 +00:00
ton/validator/impl/CMakeLists.txt
SpyCheese 908415d00b
Accelerator, part 1 (#1119)
This commit contains some parts of https://github.com/ton-blockchain/ton/tree/accelerator
This is auxiliary code that mostly does not change node behavior.

1) Semiprivate overlays and other improvements in overlays code
2) Rename actual_min_split -> monitor_min_split, fix building shard overlays
3) Loading block candidates by block id from DB, fix accept_block after validator restart
4) Cells: ProofStorageStat and changes in CellUsageTree
5) Remove some unused code, other minor changes
2024-08-23 11:46:40 +03:00

56 lines
1.2 KiB
CMake

cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
if (NOT OPENSSL_FOUND)
find_package(OpenSSL REQUIRED)
endif()
set(TON_VALIDATOR_SOURCE
accept-block.cpp
block.cpp
candidates-buffer.cpp
check-proof.cpp
collator.cpp
config.cpp
external-message.cpp
fabric.cpp
ihr-message.cpp
liteserver.cpp
message-queue.cpp
proof.cpp
shard.cpp
signature-set.cpp
top-shard-descr.cpp
validate-query.cpp
validator-set.cpp
accept-block.hpp
block.hpp
candidates-buffer.hpp
check-proof.hpp
collator-impl.h
collator.h
config.hpp
external-message.hpp
ihr-message.hpp
liteserver.hpp
liteserver-cache.hpp
message-queue.hpp
proof.hpp
shard.hpp
signature-set.hpp
top-shard-descr.hpp
validate-query.hpp
validator-set.hpp
)
add_library(ton_validator STATIC ${TON_VALIDATOR_SOURCE})
target_include_directories(ton_validator PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/../crypto
${OPENSSL_INCLUDE_DIR}
)
target_link_libraries(ton_validator PRIVATE tdutils tdactor adnl tl_api tl_lite_api tl-lite-utils dht tdfec
overlay catchain validatorsession ton_crypto ton_block)