mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-03 02:06:18 +00:00
23 lines
601 B
C++
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
|