Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
policy_estimator_io.cpp
Go to the documentation of this file.
1// Copyright (c) 2020-present The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
7#include <streams.h>
9#include <test/fuzz/fuzz.h>
10#include <test/fuzz/util.h>
12
13#include <memory>
14
15namespace {
17} // namespace
18
20{
21 static const auto testing_setup = MakeNoLogFileContext<>();
22 g_setup = testing_setup.get();
23}
24
const TestingSetup * g_setup
static constexpr bool DEFAULT_ACCEPT_STALE_FEE_ESTIMATES
fs::path FeeestPath(const ArgsManager &argsman)
Non-refcounted RAII wrapper for FILE*.
Definition streams.h:373
The BlockPolicyEstimator is used for estimating the feerate needed for a transaction to be included i...
#define FUZZ_TARGET(...)
Definition fuzz.h:35
void initialize_policy_estimator_io()
Basic testing setup.
node::NodeContext m_node
ArgsManager * args
Definition context.h:74
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition time.h:73
FuzzedDataProvider & fuzzed_data_provider
Definition fees.cpp:38