We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02dd96c commit 9ee2c63Copy full SHA for 9ee2c63
2 files changed
include/bitcoin/server/estimator.hpp
@@ -129,6 +129,7 @@ class BCS_API estimator
129
return std::pow(decay_rate(), push ? +1.0 : -1.0);
130
}
131
132
+ accumulator& history() NOEXCEPT;
133
const accumulator& history() const NOEXCEPT;
134
bool initialize(const rate_sets& blocks) NOEXCEPT;
135
bool push(const rates& block) NOEXCEPT;
src/estimator.cpp
@@ -128,6 +128,11 @@ size_t estimator::top_height() const NOEXCEPT
128
// protected
// ----------------------------------------------------------------------------
+estimator::accumulator& estimator::history() NOEXCEPT
+{
+ return fees_;
+}
+
136
const estimator::accumulator& estimator::history() const NOEXCEPT
137
{
138
return fees_;
0 commit comments