Skip to content

Commit

Permalink
Reorganize project
Browse files Browse the repository at this point in the history
  • Loading branch information
hkalodner committed Apr 24, 2018
1 parent 9a9901d commit 6842bec
Show file tree
Hide file tree
Showing 266 changed files with 85 additions and 1,325 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
release
xcode
debug
build
*.DS_Store
Notebooks/blocksci/pybind11
Notebooks/blocksci
*.so
*.dylib
*.pyc
src/blocksci/include/blocksci/external
include/blocksci/external
python/blocksci/pybind11
*.egg-info
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[submodule "libs/pybind11"]
path = external/pybind11
path = python/blocksci/pybind11
url = https://github.com/pybind/pybind11/
[submodule "libs/bitcoin-api-cpp"]
path = external/bitcoin-api-cpp
Expand All @@ -14,7 +14,7 @@
path = external/range-v3
url = https://github.com/ericniebler/range-v3.git
[submodule "Notebooks/blocksci/Blockchain-Known-Pools"]
path = Notebooks/blocksci/Blockchain-Known-Pools
path = python/blocksci/Blockchain-Known-Pools
url = https://github.com/blockchain/Blockchain-Known-Pools
[submodule "libs/clipp"]
path = external/clipp
Expand Down
16 changes: 6 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")

set(BlockSci_VERSION 0.5.0)

add_subdirectory(external)
option(BLOCKSCI_PYTHON_BUILD "Install pybind11 header files?" OFF)

add_subdirectory(src/blocksci)
add_subdirectory(src/parser)
add_subdirectory(src/mempool_recorder)
add_subdirectory(src/python-interface)
add_subdirectory(src/clusterer)
add_subdirectory(src/benchmark)
add_subdirectory(src/example)
add_subdirectory(external)

include( CMakePackageConfigHelpers )
set(CONFIG_PACKAGE_INSTALL_DIR lib/cmake/blocksci)
add_subdirectory(src)
add_subdirectory(tools)
add_subdirectory(benchmark)
add_subdirectory(example)
7 changes: 6 additions & 1 deletion src/benchmark/CMakeLists.txt → benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
add_executable(blocksci_benchmark main.cpp)
cmake_minimum_required(VERSION 3.5)
project(blocksci_benchmark)

find_package(blocksci REQUIRED)

add_executable(blocksci_benchmark EXCLUDE_FROM_ALL main.cpp)

target_compile_options(blocksci_benchmark PRIVATE -Wall -Wextra -Wpedantic)

Expand Down
File renamed without changes.
6 changes: 0 additions & 6 deletions blocksci/Blockchain-Known-Pools/README.md

This file was deleted.

Loading

0 comments on commit 6842bec

Please sign in to comment.