-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from citp/v0.5
Update BlockSci to v0.5.0 Version 0.5.0 focuses mainly on improvements and cleanups in the python interface. The largest new feature is the introduction of vectorized operations which return NumPy arrays, enabling much more rapid usage of BlockSci's python interface. You can read more details about the release in the [release notes](https://citp.github.io/BlockSci/changelog.html#version-0-5-0). Fixes #72, fixes #76, fixes #84, and fixes #98
- Loading branch information
Showing
570 changed files
with
15,292 additions
and
11,245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
release | ||
xcode | ||
debug | ||
build | ||
*.DS_Store | ||
Notebooks/blocksci | ||
*.so | ||
*.dylib | ||
*.pyc | ||
include/blocksci/external | ||
python/blocksci/pybind11 | ||
*.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
[submodule "libs/pybind11"] | ||
path = libs/pybind11 | ||
path = blockscipy/blocksci/pybind11 | ||
url = https://github.com/pybind/pybind11/ | ||
[submodule "libs/bitcoin-api-cpp"] | ||
path = libs/bitcoin-api-cpp | ||
path = external/bitcoin-api-cpp | ||
url = https://github.com/hkalodner/bitcoin-api-cpp.git | ||
[submodule "libs/dset"] | ||
path = libs/dset | ||
path = external/dset | ||
url = https://github.com/wjakob/dset.git | ||
[submodule "libs/variant"] | ||
path = libs/variant | ||
path = external/variant | ||
url = https://github.com/mpark/variant.git | ||
[submodule "libs/range-v3"] | ||
path = libs/range-v3 | ||
path = external/range-v3 | ||
url = https://github.com/ericniebler/range-v3.git | ||
[submodule "libs/type_safe"] | ||
path = libs/type_safe | ||
url = https://github.com/foonathan/type_safe | ||
[submodule "Notebooks/blocksci/Blockchain-Known-Pools"] | ||
path = Notebooks/blocksci/Blockchain-Known-Pools | ||
path = blockscipy/blocksci/Blockchain-Known-Pools | ||
url = https://github.com/blockchain/Blockchain-Known-Pools | ||
[submodule "libs/clipp"] | ||
path = libs/clipp | ||
path = external/clipp | ||
url = https://github.com/muellan/clipp | ||
[submodule "libs/rocksdb"] | ||
path = external/rocksdb | ||
url = https://github.com/facebook/rocksdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,15 @@ | ||
cmake_minimum_required(VERSION 3.9) | ||
cmake_minimum_required(VERSION 3.5) | ||
project(blocksci) | ||
|
||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_MACOSX_RPATH 1) | ||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/") | ||
|
||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic") | ||
set(BlockSci_VERSION 0.5.0) | ||
|
||
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-old-style-cast -Wno-documentation-unknown-command -Wno-documentation -Wno-shadow -Wno-switch-enum -Wno-missing-prototypes -Wno-weak-vtables -Wno-exit-time-destructors -Wno-unused-macros -Wno-padded -Wno-undefined-func-template") | ||
include(GNUInstallDirs) | ||
|
||
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG") | ||
add_subdirectory(external) | ||
|
||
# use, i.e. don't skip the full RPATH for the build tree | ||
SET(CMAKE_SKIP_BUILD_RPATH FALSE) | ||
|
||
# when building, don't use the install RPATH already | ||
# (but later on when installing) | ||
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) | ||
|
||
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") | ||
|
||
# add the automatically determined parts of the RPATH | ||
# which point to directories outside the build tree to the install RPATH | ||
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) | ||
|
||
# the RPATH to be used when installing, but only if it's not a system directory | ||
LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir) | ||
IF("${isSystemDir}" STREQUAL "-1") | ||
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") | ||
ENDIF("${isSystemDir}" STREQUAL "-1") | ||
|
||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | ||
|
||
set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
find_package(Threads REQUIRED) | ||
|
||
find_package( Boost 1.58 COMPONENTS system filesystem thread iostreams serialization REQUIRED ) | ||
add_library(boost INTERFACE) | ||
target_link_libraries(boost INTERFACE ${Boost_LIBRARIES}) | ||
target_include_directories(boost INTERFACE SYSTEM ${Boost_INCLUDE_DIR}) | ||
|
||
find_package(OpenSSL REQUIRED) | ||
add_library(openssl INTERFACE) | ||
target_link_libraries(openssl INTERFACE ${OPENSSL_LIBRARIES}) | ||
target_include_directories(openssl INTERFACE SYSTEM ${OPENSSL_INCLUDE_DIR}) | ||
|
||
add_library(Ranges INTERFACE) | ||
target_include_directories(Ranges INTERFACE SYSTEM libs/range-v3/include) | ||
|
||
add_library(clipp INTERFACE) | ||
target_include_directories(clipp INTERFACE SYSTEM libs/clipp/include) | ||
|
||
link_directories(/usr/local/lib) | ||
include_directories("src") | ||
|
||
set(PYBIND11_INSTALL true) | ||
add_subdirectory(libs/pybind11) | ||
|
||
add_subdirectory(libs/variant) | ||
|
||
add_subdirectory(libs/type_safe) | ||
|
||
add_subdirectory(src/blocksci) | ||
add_subdirectory(src/parser) | ||
add_subdirectory(src/mempool_recorder) | ||
add_subdirectory(src/python-interface) | ||
add_subdirectory(src/example) | ||
add_subdirectory(src) | ||
add_subdirectory(tools) | ||
add_subdirectory(benchmark) | ||
add_subdirectory(example) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.