mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-05 10:17:30 -05:00
![Antoine Poinsot](/assets/img/avatar_default.png)
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>
16 lines
450 B
C++
16 lines
450 B
C++
// Copyright (c) 2019-2020 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#include <node/context.h>
|
|
|
|
#include <banman.h>
|
|
#include <interfaces/chain.h>
|
|
#include <net.h>
|
|
#include <net_processing.h>
|
|
#include <policy/fees.h>
|
|
#include <scheduler.h>
|
|
#include <txmempool.h>
|
|
|
|
NodeContext::NodeContext() {}
|
|
NodeContext::~NodeContext() {}
|