New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blockchain_ancestry: finds all ancestors of a tx, block, or chain #4147

Merged
merged 5 commits into from Sep 14, 2018
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+1,187 −0
Diff settings

Always

Just for now

@@ -91,6 +91,28 @@ monero_private_headers(blockchain_usage



set(blockchain_ancestry_sources
blockchain_ancestry.cpp
)

set(blockchain_ancestry_private_headers)

monero_private_headers(blockchain_ancestry
${blockchain_ancestry_private_headers})



set(blockchain_depth_sources
blockchain_depth.cpp
)

set(blockchain_depth_private_headers)

monero_private_headers(blockchain_depth
${blockchain_depth_private_headers})



monero_add_executable(blockchain_import
${blockchain_import_sources}
${blockchain_import_private_headers}
@@ -183,3 +205,45 @@ set_property(TARGET blockchain_usage
OUTPUT_NAME "monero-blockchain-usage")
install(TARGETS blockchain_usage DESTINATION bin)

monero_add_executable(blockchain_ancestry
${blockchain_ancestry_sources}
${blockchain_ancestry_private_headers})

target_link_libraries(blockchain_ancestry
PRIVATE
cryptonote_core
blockchain_db
version
epee
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}
${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})

set_property(TARGET blockchain_ancestry
PROPERTY
OUTPUT_NAME "monero-blockchain-ancestry")
install(TARGETS blockchain_ancestry DESTINATION bin)

monero_add_executable(blockchain_depth
${blockchain_depth_sources}
${blockchain_depth_private_headers})

target_link_libraries(blockchain_depth
PRIVATE
cryptonote_core
blockchain_db
version
epee
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}
${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})

set_property(TARGET blockchain_depth
PROPERTY
OUTPUT_NAME "monero-blockchain-depth")
install(TARGETS blockchain_depth DESTINATION bin)

Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.