Skip to content

Commit 6b27fd4

Browse files
authored
Merge pull request #58 from citp/SwitchToRocksDB
Update BlockSci master to v0.4
2 parents 4483e4d + ed9a2ef commit 6b27fd4

File tree

145 files changed

+3323
-6387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+3323
-6387
lines changed

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
[submodule "libs/range-v3"]
1414
path = libs/range-v3
1515
url = https://github.com/ericniebler/range-v3.git
16-
[submodule "libs/lmdbxx"]
17-
path = libs/lmdbxx
18-
url = https://github.com/bendiken/lmdbxx
1916
[submodule "libs/type_safe"]
2017
path = libs/type_safe
2118
url = https://github.com/foonathan/type_safe

CHANGELOG.rst

+41
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,47 @@
44
Release notes
55
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66

7+
Version 0.4
8+
========================
9+
10+
Feature Enhancements
11+
---------------------
12+
13+
- Safe incremental updates
14+
15+
Following an number of enhancements BlockSci is now capable of safely performing incremental updates. The AWS distribution of BlockSci now includes a Bitcoin full node and will automatically update the BlockChain once per hour. For local installations of BlockSci, see the readme for setup instructions.
16+
17+
- Proper handling of segwit tx and block size distinctions. This included updating the parser to store the size of each transaction excluding segwit data and as as supporting the 3 new notions of size that segwit introduced.
18+
19+
- Proper handling of bech32 addresses.
20+
21+
- Address.from_string() now supports lookup of bech32 addresses.
22+
23+
- Script objects (produced from calls to Address.script) now display the correct address depending on the address type.
24+
25+
- Improved initial chain parsing from 24 hours down to 10 hours and reduced in parser data size due to unification of the hash index database and parser address hash index database.
26+
27+
28+
Breaking Changes
29+
---------------------
30+
31+
- Updated to new data version for the parser output requiring a rerun of the blocksci_parser.
32+
33+
- Introduced new distinction between Address.script and Address.equiv. Address.script returns an object specific to that address type the contains specific information about the script used for the address. Address.equiv provides an EquivAddress object which supports queries such as EquivAddress.outs() and EquivAddress.balance() to generate information about usages of the particular pubkey or script. Both of these functionalities were previously included inside Address.script. Explanation and more details regarding EquivAddress can be found in it's page in the documentation.
34+
35+
- Renamed various methods from using Script in their name to Equiv address in order to reflect updated terminology.
36+
37+
- Renamed ScriptType to EquivAddressType to reflect updated naming as well.
38+
39+
Bug Fixes
40+
-------------
41+
- Fixed segwit size handling as stated above. (`Issue #43`_)
42+
- Fixed P2SH API issued. (`Issue #53`_)
43+
44+
.. _Issue #43: https://github.com/citp/BlockSci/issues/43
45+
.. _Issue #53: https://github.com/citp/BlockSci/issues/53
46+
47+
748
Version 0.3
849
========================
950

CMakeLists.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,10 @@ target_include_directories(Ranges INTERFACE SYSTEM libs/range-v3/include)
5050
add_library(clipp INTERFACE)
5151
target_include_directories(clipp INTERFACE SYSTEM libs/clipp/include)
5252

53-
add_library(lmdbxx INTERFACE)
54-
target_include_directories(lmdbxx INTERFACE SYSTEM libs)
55-
target_link_libraries(lmdbxx INTERFACE lmdb)
56-
5753
link_directories(/usr/local/lib)
5854
include_directories("src")
5955

56+
set(PYBIND11_INSTALL true)
6057
add_subdirectory(libs/pybind11)
6158

6259
add_subdirectory(libs/variant)

0 commit comments

Comments
 (0)