bitcoin/src/test/fuzz/util/check_globals.h

23 lines
601 B
C++

// Copyright (c) 2024-present The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TEST_FUZZ_UTIL_CHECK_GLOBALS_H
#define BITCOIN_TEST_FUZZ_UTIL_CHECK_GLOBALS_H
#include <atomic>
#include <memory>
#include <optional>
#include <string>
extern std::atomic<bool> g_used_system_time;
struct CheckGlobalsImpl;
struct CheckGlobals {
CheckGlobals();
~CheckGlobals();
std::unique_ptr<CheckGlobalsImpl> m_impl;
};
#endif // BITCOIN_TEST_FUZZ_UTIL_CHECK_GLOBALS_H