Bitcoin Core
28.99.0
P2P Digital Currency
src
test
fuzz
util
check_globals.h
Go to the documentation of this file.
1
// Copyright (c) 2024-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
5
#ifndef BITCOIN_TEST_FUZZ_UTIL_CHECK_GLOBALS_H
6
#define BITCOIN_TEST_FUZZ_UTIL_CHECK_GLOBALS_H
7
8
#include <atomic>
9
#include <memory>
10
#include <optional>
11
#include <string>
12
13
extern
std::atomic<bool>
g_used_system_time
;
14
15
struct
CheckGlobalsImpl
;
16
struct
CheckGlobals
{
17
CheckGlobals
();
18
~CheckGlobals
();
19
std::unique_ptr<CheckGlobalsImpl>
m_impl
;
20
};
21
22
#endif
// BITCOIN_TEST_FUZZ_UTIL_CHECK_GLOBALS_H
g_used_system_time
std::atomic< bool > g_used_system_time
Definition:
time.cpp:23
CheckGlobals
Definition:
check_globals.h:16
CheckGlobals::~CheckGlobals
~CheckGlobals()
CheckGlobals::m_impl
std::unique_ptr< CheckGlobalsImpl > m_impl
Definition:
check_globals.h:19
CheckGlobals::CheckGlobals
CheckGlobals()
Definition:
check_globals.cpp:56
CheckGlobalsImpl
Definition:
check_globals.cpp:15
Generated on Sat Jan 18 2025 20:00:13 for Bitcoin Core by
1.9.4