2018-02-14 14:26:28 +01:00
|
|
|
# This file is part of the Flowee project
|
2021-06-20 22:44:44 +02:00
|
|
|
# Copyright (C) 2018 Tom Zander <tom@flowee.org>
|
2018-02-14 14:26:28 +01:00
|
|
|
#
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2019-06-02 20:20:04 +02:00
|
|
|
include_directories(${LIBSERVER_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_BINARY_DIR}/include)
|
2018-02-10 14:59:45 +01:00
|
|
|
|
|
|
|
|
set (FLOWEE_SERVER_FILES
|
|
|
|
|
addrman.cpp
|
|
|
|
|
Application.cpp
|
2019-11-13 11:46:09 +01:00
|
|
|
allowed_args.cpp
|
2018-02-10 14:59:45 +01:00
|
|
|
BlocksDB.cpp
|
2021-03-05 19:10:51 +01:00
|
|
|
BlockMetaData.cpp
|
2018-02-10 14:59:45 +01:00
|
|
|
chain.cpp
|
|
|
|
|
chainparams.cpp
|
|
|
|
|
checkpoints.cpp
|
|
|
|
|
compressor.cpp
|
|
|
|
|
core_read.cpp
|
|
|
|
|
core_write.cpp
|
|
|
|
|
dbwrapper.cpp
|
2021-04-02 16:43:03 +02:00
|
|
|
DiskSpaceChecker.cpp
|
2019-09-02 23:28:14 +02:00
|
|
|
DoubleSpendProof.cpp
|
|
|
|
|
DoubleSpendProofStorage.cpp
|
2019-04-11 11:33:27 +02:00
|
|
|
encodings_legacy.cpp
|
2018-02-10 14:59:45 +01:00
|
|
|
httprpc.cpp
|
|
|
|
|
httpserver.cpp
|
|
|
|
|
init.cpp
|
|
|
|
|
keystore.cpp
|
|
|
|
|
main.cpp
|
|
|
|
|
miner.cpp
|
2019-11-13 11:46:09 +01:00
|
|
|
netbase.cpp
|
2018-02-10 14:59:45 +01:00
|
|
|
net.cpp
|
|
|
|
|
noui.cpp
|
|
|
|
|
policy/policy.cpp
|
|
|
|
|
pow.cpp
|
|
|
|
|
primitives/FastUndoBlock.cpp
|
|
|
|
|
protocol.cpp
|
|
|
|
|
rest.cpp
|
2019-11-13 11:46:09 +01:00
|
|
|
rpcclient.cpp
|
|
|
|
|
rpcprotocol.cpp
|
2018-02-10 14:59:45 +01:00
|
|
|
rpcblockchain.cpp
|
|
|
|
|
rpcmining.cpp
|
|
|
|
|
rpcmisc.cpp
|
|
|
|
|
rpcnet.cpp
|
|
|
|
|
rpcrawtransaction.cpp
|
|
|
|
|
rpcserver.cpp
|
|
|
|
|
scheduler.cpp
|
2019-08-24 13:20:37 +02:00
|
|
|
serverutil.cpp
|
2018-02-10 14:59:45 +01:00
|
|
|
script/sigcache.cpp
|
|
|
|
|
script/standard.cpp
|
|
|
|
|
thinblock.cpp
|
|
|
|
|
timedata.cpp
|
|
|
|
|
torcontrol.cpp
|
|
|
|
|
txmempool.cpp
|
|
|
|
|
txorphancache.cpp
|
2019-11-13 11:46:09 +01:00
|
|
|
util.cpp
|
2018-07-23 18:05:43 +02:00
|
|
|
UnspentOutputData.cpp
|
2018-02-10 14:59:45 +01:00
|
|
|
validation/BlockValidation.cpp
|
|
|
|
|
validation/Engine.cpp
|
|
|
|
|
validation/TxValidation.cpp
|
|
|
|
|
validation/ValidationException.cpp
|
|
|
|
|
validation/ValidationSettings.cpp
|
|
|
|
|
validation/VerifyDB.cpp
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if (ZMQ_FOUND)
|
|
|
|
|
set (FLOWEE_SERVER_FILES_ZMQ
|
|
|
|
|
zmq/zmqabstractnotifier.cpp
|
|
|
|
|
zmq/zmqnotificationinterface.cpp
|
|
|
|
|
zmq/zmqpublishnotifier.cpp
|
|
|
|
|
)
|
|
|
|
|
endif ()
|
|
|
|
|
|
2022-02-22 18:27:48 +01:00
|
|
|
add_library(hub_server STATIC
|
2018-02-10 14:59:45 +01:00
|
|
|
${FLOWEE_SERVER_FILES}
|
|
|
|
|
${FLOWEE_SERVER_FILES_ZMQ}
|
|
|
|
|
)
|
|
|
|
|
|
2025-03-07 15:36:36 +01:00
|
|
|
target_link_libraries(hub_server
|
|
|
|
|
Boost::chrono
|
|
|
|
|
Boost::filesystem
|
|
|
|
|
Boost::iostreams
|
|
|
|
|
Boost::program_options
|
|
|
|
|
Boost::thread
|
|
|
|
|
leveldb
|
|
|
|
|
univalue
|
|
|
|
|
secp256k1
|
|
|
|
|
flowee_utxo
|
|
|
|
|
)
|