Skip to content

Commit

Permalink
Add fetch-compact-filter* commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmienk committed Sep 2, 2019
1 parent d162365 commit 79a95c0
Show file tree
Hide file tree
Showing 21 changed files with 1,693 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ src_libbitcoin_explorer_la_SOURCES = \
src/commands/fetch-block-hashes.cpp \
src/commands/fetch-block-height.cpp \
src/commands/fetch-block.cpp \
src/commands/fetch-compact-filter-checkpoint-node.cpp \
src/commands/fetch-compact-filter-headers-node.cpp \
src/commands/fetch-compact-filters-node.cpp \
src/commands/fetch-header.cpp \
src/commands/fetch-height.cpp \
src/commands/fetch-history.cpp \
Expand Down Expand Up @@ -358,6 +361,9 @@ include_bitcoin_explorer_commands_HEADERS = \
include/bitcoin/explorer/commands/fetch-block-hashes.hpp \
include/bitcoin/explorer/commands/fetch-block-height.hpp \
include/bitcoin/explorer/commands/fetch-block.hpp \
include/bitcoin/explorer/commands/fetch-compact-filter-checkpoint-node.hpp \
include/bitcoin/explorer/commands/fetch-compact-filter-headers-node.hpp \
include/bitcoin/explorer/commands/fetch-compact-filters-node.hpp \
include/bitcoin/explorer/commands/fetch-header.hpp \
include/bitcoin/explorer/commands/fetch-height.hpp \
include/bitcoin/explorer/commands/fetch-history.hpp \
Expand Down
3 changes: 3 additions & 0 deletions builds/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ add_library( ${CANONICAL_LIB_NAME}
"../../src/commands/fetch-block-hashes.cpp"
"../../src/commands/fetch-block-height.cpp"
"../../src/commands/fetch-block.cpp"
"../../src/commands/fetch-compact-filter-checkpoint-node.cpp"
"../../src/commands/fetch-compact-filter-headers-node.cpp"
"../../src/commands/fetch-compact-filters-node.cpp"
"../../src/commands/fetch-header.cpp"
"../../src/commands/fetch-height.cpp"
"../../src/commands/fetch-history.cpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@
<ClCompile Include="..\..\..\..\src\commands\fetch-block-hashes.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-block-height.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-block.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-checkpoint-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-headers-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filters-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-header.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-height.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-history.cpp" />
Expand Down Expand Up @@ -246,6 +249,9 @@
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block-hashes.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block-height.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-checkpoint-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-headers-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filters-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-header.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-height.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-history.hpp" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,15 @@
<ClCompile Include="..\..\..\..\src\commands\fetch-block.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-checkpoint-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-headers-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filters-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-header.cpp">
<Filter>src\commands</Filter>
</ClCompile>
Expand Down Expand Up @@ -554,6 +563,15 @@
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-checkpoint-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-headers-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filters-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-header.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@
<ClCompile Include="..\..\..\..\src\commands\fetch-block-hashes.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-block-height.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-block.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-checkpoint-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-headers-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filters-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-header.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-height.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-history.cpp" />
Expand Down Expand Up @@ -246,6 +249,9 @@
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block-hashes.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block-height.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-checkpoint-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-headers-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filters-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-header.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-height.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-history.hpp" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,15 @@
<ClCompile Include="..\..\..\..\src\commands\fetch-block.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-checkpoint-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-headers-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filters-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-header.cpp">
<Filter>src\commands</Filter>
</ClCompile>
Expand Down Expand Up @@ -554,6 +563,15 @@
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-checkpoint-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-headers-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filters-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-header.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@
<ClCompile Include="..\..\..\..\src\commands\fetch-block-hashes.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-block-height.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-block.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-checkpoint-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-headers-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filters-node.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-header.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-height.cpp" />
<ClCompile Include="..\..\..\..\src\commands\fetch-history.cpp" />
Expand Down Expand Up @@ -246,6 +249,9 @@
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block-hashes.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block-height.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-checkpoint-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-headers-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filters-node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-header.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-height.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-history.hpp" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,15 @@
<ClCompile Include="..\..\..\..\src\commands\fetch-block.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-checkpoint-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filter-headers-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-compact-filters-node.cpp">
<Filter>src\commands</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\commands\fetch-header.cpp">
<Filter>src\commands</Filter>
</ClCompile>
Expand Down Expand Up @@ -554,6 +563,15 @@
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-block.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-checkpoint-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filter-headers-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-compact-filters-node.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\explorer\commands\fetch-header.hpp">
<Filter>include\bitcoin\explorer\commands</Filter>
</ClInclude>
Expand Down
3 changes: 3 additions & 0 deletions data/bx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ _bx()
fetch-block
fetch-block-hashes
fetch-block-height
fetch-compact-filter-checkpoint-node
fetch-compact-filter-headers-node
fetch-compact-filters-node
fetch-header
fetch-height
fetch-history
Expand Down
3 changes: 3 additions & 0 deletions include/bitcoin/explorer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
#include <bitcoin/explorer/commands/fetch-block-hashes.hpp>
#include <bitcoin/explorer/commands/fetch-block-height.hpp>
#include <bitcoin/explorer/commands/fetch-block.hpp>
#include <bitcoin/explorer/commands/fetch-compact-filter-checkpoint-node.hpp>
#include <bitcoin/explorer/commands/fetch-compact-filter-headers-node.hpp>
#include <bitcoin/explorer/commands/fetch-compact-filters-node.hpp>
#include <bitcoin/explorer/commands/fetch-header.hpp>
#include <bitcoin/explorer/commands/fetch-height.hpp>
#include <bitcoin/explorer/commands/fetch-history.hpp>
Expand Down
Loading

0 comments on commit 79a95c0

Please sign in to comment.