diff options
author | Antoine Poinsot <darosior@protonmail.com> | 2020-07-28 19:12:50 +0200 |
---|---|---|
committer | Antoine Poinsot <darosior@protonmail.com> | 2020-12-03 12:56:37 +0100 |
commit | 86ff2cf202bfb9d9b50800b8ffe3fead3f77f5fa (patch) | |
tree | 112793cb81c576520e0a4e7573556f239d95b87c /src/node/context.cpp | |
parent | 03bfeee957ab7e3b6aece82b9561774648094f54 (diff) |
Remove the remaining fee estimation globals
This moves the CBlockPolicyEstimator to the NodeContext, which get rids
of two globals and allows us to conditionally create the
CBlockPolicyEstimator (and to remove a circular dep).
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Diffstat (limited to 'src/node/context.cpp')
-rw-r--r-- | src/node/context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/context.cpp b/src/node/context.cpp index 49d0c37235..958221a913 100644 --- a/src/node/context.cpp +++ b/src/node/context.cpp @@ -8,6 +8,7 @@ #include <interfaces/chain.h> #include <net.h> #include <net_processing.h> +#include <policy/fees.h> #include <scheduler.h> #include <txmempool.h> |