1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

fullnode: support for TCP master/slave replication

This commit is contained in:
ton 2019-09-19 23:15:32 +04:00
parent bfa166d66c
commit f40822b58a
50 changed files with 1109 additions and 244 deletions

View file

@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
#BEGIN internal
if (NOT TON_ONLY_TONLIB)
set(ADNL_HEADERS
adnl-address-list.h
adnl-address-list.hpp
@ -66,6 +67,7 @@ set(ADNL_PROXY_SOURCE
#FIXME
set(ADNL_LITE_HEADERS ${ADNL_HEADERS})
endif()
#END internal
set(ADNL_LITE_SOURCE
@ -77,6 +79,7 @@ set(ADNL_LITE_SOURCE
)
#BEGIN internal
if (NOT TON_ONLY_TONLIB)
add_library(adnl STATIC ${ADNL_SOURCE})
target_include_directories(adnl PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>)
@ -95,6 +98,7 @@ target_link_libraries(adnl-pong PUBLIC tdactor ton_crypto tl_api tdnet common
add_library(adnltest STATIC ${ADNL_TEST_SOURCE})
target_include_directories(adnltest PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>)
target_link_libraries(adnltest PUBLIC adnl )
endif()
#END internal
add_library(adnllite STATIC ${ADNL_LITE_SOURCE})