Files
thehub/hub/server/CMakeLists.txt
tomFlowee f53daa79f6 Cleanup
This removes the transaction-signing code from the hub internal codebase.
The only user for this was the API call signrawtransaction,
and a lot of unit testing code.
I'd argue that if the user needs to send a private key to the hub via
RPC for signing his transaction, then they are doing it wrong.

This also removes the duplicate test double_spend which tests
functionality also tested in the DoubleSpendProofTest.

As an aside, the flowee/utils library still has full signing capability
and we suggest using the TransactionBuilder API for that.
2026-05-05 00:39:16 +02:00

101 lines
2.4 KiB
CMake

# This file is part of the Flowee project
# Copyright (C) 2018 Tom Zander <tom@flowee.org>
#
# 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/>.
include_directories(${LIBSERVER_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_BINARY_DIR}/include)
set (FLOWEE_SERVER_FILES
addrman.cpp
Application.cpp
allowed_args.cpp
BlocksDB.cpp
BlockMetaData.cpp
chain.cpp
chainparams.cpp
checkpoints.cpp
compressor.cpp
core_read.cpp
core_write.cpp
dbwrapper.cpp
DiskSpaceChecker.cpp
DoubleSpendProof.cpp
DoubleSpendProofStorage.cpp
encodings_legacy.cpp
httprpc.cpp
httpserver.cpp
init.cpp
keystore.cpp
main.cpp
miner.cpp
netbase.cpp
net.cpp
noui.cpp
policy/policy.cpp
pow.cpp
primitives/FastUndoBlock.cpp
protocol.cpp
rest.cpp
rpcclient.cpp
rpcprotocol.cpp
rpcblockchain.cpp
rpcmining.cpp
rpcmisc.cpp
rpcnet.cpp
rpcrawtransaction.cpp
rpcserver.cpp
scheduler.cpp
serverutil.cpp
script/sigcache.cpp
script/standard.cpp
thinblock.cpp
timedata.cpp
torcontrol.cpp
txmempool.cpp
txorphancache.cpp
util.cpp
UnspentOutputData.cpp
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 ()
add_library(hub_server STATIC
${FLOWEE_SERVER_FILES}
${FLOWEE_SERVER_FILES_ZMQ}
)
target_link_libraries(hub_server
Boost::chrono
Boost::filesystem
Boost::iostreams
Boost::program_options
Boost::thread
leveldb
univalue
secp256k1
flowee_utxo
)