Bitcoin Core  27.99.0
P2P Digital Currency
cs_main.h
Go to the documentation of this file.
1 // Copyright (c) 2023 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_KERNEL_CS_MAIN_H
6 #define BITCOIN_KERNEL_CS_MAIN_H
7 
8 #include <sync.h>
9 
20 extern RecursiveMutex cs_main;
21 
22 #endif // BITCOIN_KERNEL_CS_MAIN_H
RecursiveMutex cs_main
Mutex to guard access to validation specific variables, such as reading or changing the chainstate.
Definition: cs_main.cpp:8