We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bitcoin_consensus
1 parent d028a49 commit ffd10d1Copy full SHA for ffd10d1
src/CMakeLists.txt
@@ -9,3 +9,22 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
9
add_subdirectory(crypto)
10
add_subdirectory(univalue)
11
add_subdirectory(util)
12
+
13
14
+# Stable, backwards-compatible consensus functionality
15
+# also exposed as a shared library and/or a static one.
16
+add_library(bitcoin_consensus OBJECT EXCLUDE_FROM_ALL
17
+ arith_uint256.cpp
18
+ consensus/merkle.cpp
19
+ consensus/tx_check.cpp
20
+ hash.cpp
21
+ primitives/block.cpp
22
+ primitives/transaction.cpp
23
+ pubkey.cpp
24
+ script/interpreter.cpp
25
+ script/script.cpp
26
+ script/script_error.cpp
27
+ uint256.cpp
28
+ util/strencodings.cpp
29
+)
30
+target_link_libraries(bitcoin_consensus PRIVATE secp256k1)
0 commit comments