Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions builds/gnu/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,13 @@ src_libbitcoin_node_la_SOURCES = \
${srcdir}/../../src/configuration.cpp \
${srcdir}/../../src/define.cpp \
${srcdir}/../../src/error.cpp \
${srcdir}/../../src/estimator.cpp \
${srcdir}/../../src/full_node.cpp \
${srcdir}/../../src/rolling_bloom_filter.cpp \
${srcdir}/../../src/settings.cpp \
${srcdir}/../../src/channels/channel_peer.cpp \
${srcdir}/../../src/chasers/chaser.cpp \
${srcdir}/../../src/chasers/chaser_confirm.cpp \
${srcdir}/../../src/chasers/chaser_download.cpp \
${srcdir}/../../src/chasers/chaser_estimate.cpp \
${srcdir}/../../src/chasers/chaser_header.cpp \
${srcdir}/../../src/chasers/chaser_snapshot.cpp \
${srcdir}/../../src/chasers/chaser_storage.cpp \
Expand Down Expand Up @@ -138,7 +136,6 @@ include_bitcoin_node_HEADERS = \
${srcdir}/../../include/bitcoin/node/configuration.hpp \
${srcdir}/../../include/bitcoin/node/define.hpp \
${srcdir}/../../include/bitcoin/node/error.hpp \
${srcdir}/../../include/bitcoin/node/estimator.hpp \
${srcdir}/../../include/bitcoin/node/events.hpp \
${srcdir}/../../include/bitcoin/node/full_node.hpp \
${srcdir}/../../include/bitcoin/node/preprocessor.hpp \
Expand All @@ -161,7 +158,6 @@ include_bitcoin_node_chasers_HEADERS = \
${srcdir}/../../include/bitcoin/node/chasers/chaser.hpp \
${srcdir}/../../include/bitcoin/node/chasers/chaser_confirm.hpp \
${srcdir}/../../include/bitcoin/node/chasers/chaser_download.hpp \
${srcdir}/../../include/bitcoin/node/chasers/chaser_estimate.hpp \
${srcdir}/../../include/bitcoin/node/chasers/chaser_header.hpp \
${srcdir}/../../include/bitcoin/node/chasers/chaser_snapshot.hpp \
${srcdir}/../../include/bitcoin/node/chasers/chaser_storage.hpp \
Expand Down Expand Up @@ -243,7 +239,6 @@ test_libbitcoin_node_test_SOURCES = \
${srcdir}/../../test/channel_peer.cpp \
${srcdir}/../../test/configuration.cpp \
${srcdir}/../../test/error.cpp \
${srcdir}/../../test/estimator.cpp \
${srcdir}/../../test/full_node.cpp \
${srcdir}/../../test/main.cpp \
${srcdir}/../../test/rolling_bloom_filter.cpp \
Expand All @@ -252,7 +247,6 @@ test_libbitcoin_node_test_SOURCES = \
${srcdir}/../../test/chasers/chaser.cpp \
${srcdir}/../../test/chasers/chaser_confirm.cpp \
${srcdir}/../../test/chasers/chaser_download.cpp \
${srcdir}/../../test/chasers/chaser_estimate.cpp \
${srcdir}/../../test/chasers/chaser_header.cpp \
${srcdir}/../../test/chasers/chaser_template.cpp \
${srcdir}/../../test/chasers/chaser_transaction.cpp \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,12 @@
<ClCompile Include="..\..\..\..\test\chasers\chaser.cpp" />
<ClCompile Include="..\..\..\..\test\chasers\chaser_confirm.cpp" />
<ClCompile Include="..\..\..\..\test\chasers\chaser_download.cpp" />
<ClCompile Include="..\..\..\..\test\chasers\chaser_estimate.cpp" />
<ClCompile Include="..\..\..\..\test\chasers\chaser_header.cpp" />
<ClCompile Include="..\..\..\..\test\chasers\chaser_template.cpp" />
<ClCompile Include="..\..\..\..\test\chasers\chaser_transaction.cpp" />
<ClCompile Include="..\..\..\..\test\chasers\chaser_validate.cpp" />
<ClCompile Include="..\..\..\..\test\configuration.cpp" />
<ClCompile Include="..\..\..\..\test\error.cpp" />
<ClCompile Include="..\..\..\..\test\estimator.cpp" />
<ClCompile Include="..\..\..\..\test\full_node.cpp" />
<ClCompile Include="..\..\..\..\test\functional\p2p.cpp" />
<ClCompile Include="..\..\..\..\test\functional\p2p_compact.cpp" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
<ClCompile Include="..\..\..\..\test\chasers\chaser_download.cpp">
<Filter>src\chasers</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\test\chasers\chaser_estimate.cpp">
<Filter>src\chasers</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\test\chasers\chaser_header.cpp">
<Filter>src\chasers</Filter>
</ClCompile>
Expand All @@ -63,9 +60,6 @@
<ClCompile Include="..\..\..\..\test\error.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\test\estimator.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\test\full_node.cpp">
<Filter>src</Filter>
</ClCompile>
Expand Down
4 changes: 0 additions & 4 deletions builds/msvc/vs2026/libbitcoin-node/libbitcoin-node.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
<ClCompile Include="..\..\..\..\src\chasers\chaser.cpp" />
<ClCompile Include="..\..\..\..\src\chasers\chaser_confirm.cpp" />
<ClCompile Include="..\..\..\..\src\chasers\chaser_download.cpp" />
<ClCompile Include="..\..\..\..\src\chasers\chaser_estimate.cpp" />
<ClCompile Include="..\..\..\..\src\chasers\chaser_header.cpp" />
<ClCompile Include="..\..\..\..\src\chasers\chaser_snapshot.cpp" />
<ClCompile Include="..\..\..\..\src\chasers\chaser_storage.cpp" />
Expand All @@ -132,7 +131,6 @@
<ClCompile Include="..\..\..\..\src\configuration.cpp" />
<ClCompile Include="..\..\..\..\src\define.cpp" />
<ClCompile Include="..\..\..\..\src\error.cpp" />
<ClCompile Include="..\..\..\..\src\estimator.cpp" />
<ClCompile Include="..\..\..\..\src\full_node.cpp" />
<ClCompile Include="..\..\..\..\src\protocols\protocol.cpp" />
<ClCompile Include="..\..\..\..\src\protocols\protocol_block_in_31800.cpp" />
Expand Down Expand Up @@ -177,7 +175,6 @@
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_confirm.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_download.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_estimate.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_header.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_snapshot.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_storage.hpp" />
Expand All @@ -188,7 +185,6 @@
<ClInclude Include="..\..\..\..\include\bitcoin\node\configuration.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\define.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\error.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\estimator.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\events.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\full_node.hpp" />
<ClInclude Include="..\..\..\..\include\bitcoin\node\preprocessor.hpp" />
Expand Down
12 changes: 0 additions & 12 deletions builds/msvc/vs2026/libbitcoin-node/libbitcoin-node.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@
<ClCompile Include="..\..\..\..\src\chasers\chaser_download.cpp">
<Filter>src\chasers</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\chasers\chaser_estimate.cpp">
<Filter>src\chasers</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\chasers\chaser_header.cpp">
<Filter>src\chasers</Filter>
</ClCompile>
Expand Down Expand Up @@ -108,9 +105,6 @@
<ClCompile Include="..\..\..\..\src\error.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\estimator.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\src\full_node.cpp">
<Filter>src</Filter>
</ClCompile>
Expand Down Expand Up @@ -239,9 +233,6 @@
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_download.hpp">
<Filter>include\bitcoin\node\chasers</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_estimate.hpp">
<Filter>include\bitcoin\node\chasers</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\node\chasers\chaser_header.hpp">
<Filter>include\bitcoin\node\chasers</Filter>
</ClInclude>
Expand Down Expand Up @@ -272,9 +263,6 @@
<ClInclude Include="..\..\..\..\include\bitcoin\node\error.hpp">
<Filter>include\bitcoin\node</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\node\estimator.hpp">
<Filter>include\bitcoin\node</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\include\bitcoin\node\events.hpp">
<Filter>include\bitcoin\node</Filter>
</ClInclude>
Expand Down
2 changes: 0 additions & 2 deletions include/bitcoin/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <bitcoin/node/configuration.hpp>
#include <bitcoin/node/define.hpp>
#include <bitcoin/node/error.hpp>
#include <bitcoin/node/estimator.hpp>
#include <bitcoin/node/events.hpp>
#include <bitcoin/node/full_node.hpp>
#include <bitcoin/node/preprocessor.hpp>
Expand All @@ -35,7 +34,6 @@
#include <bitcoin/node/chasers/chaser.hpp>
#include <bitcoin/node/chasers/chaser_confirm.hpp>
#include <bitcoin/node/chasers/chaser_download.hpp>
#include <bitcoin/node/chasers/chaser_estimate.hpp>
#include <bitcoin/node/chasers/chaser_header.hpp>
#include <bitcoin/node/chasers/chaser_snapshot.hpp>
#include <bitcoin/node/chasers/chaser_storage.hpp>
Expand Down
4 changes: 2 additions & 2 deletions include/bitcoin/node/chase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ enum class chase
/// -----------------------------------------------------------------------

/// A current block has been organized.
/// Issued by 'confirm' and handled by 'protocol_header/block_out/estimator'.
/// Issued by 'confirm' and handled by 'protocol_header/block_out'.
block,

/// The store has been pruned (once, following the first current block).
/// Issued by 'snapshot' and handled by 'estimate'.
/// Issued by 'snapshot' and handled by none.
pruned,

/// The confirmed chain is no longer current.
Expand Down
79 changes: 0 additions & 79 deletions include/bitcoin/node/chasers/chaser_estimate.hpp

This file was deleted.

1 change: 0 additions & 1 deletion include/bitcoin/node/chasers/chasers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <bitcoin/node/chasers/chaser.hpp>
#include <bitcoin/node/chasers/chaser_download.hpp>
#include <bitcoin/node/chasers/chaser_confirm.hpp>
#include <bitcoin/node/chasers/chaser_estimate.hpp>
#include <bitcoin/node/chasers/chaser_header.hpp>
#include <bitcoin/node/chasers/chaser_snapshot.hpp>
#include <bitcoin/node/chasers/chaser_storage.hpp>
Expand Down
9 changes: 9 additions & 0 deletions include/bitcoin/node/define.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ namespace node {
typedef std::error_code code;

/// Estimate types.
enum class estimate_mode
{
basic,
geometric,
economical,
conservative,
unknown
};
constexpr size_t maximum_estimate_horizon = 1008;
typedef std::function<void(const code&, uint64_t)> estimate_handler;

/// Organization types.
Expand Down
6 changes: 0 additions & 6 deletions include/bitcoin/node/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,6 @@ enum error_t : uint8_t
transaction7,
transaction8,
transaction9,
estimates_initialize,
estimates_push1,
estimates_push2,
estimates_pop1,
estimates_pop2,
estimates_pool,
batch1,
batch2,
batch3,
Expand Down
Loading
Loading