mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
refactor: add kernel/cs_main.*
Co-authored-by: Anthony Towns <aj@erisian.com.au>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include <consensus/amount.h>
|
||||
#include <deploymentstatus.h>
|
||||
#include <fs.h>
|
||||
#include <kernel/cs_main.h> // IWYU pragma: export
|
||||
#include <node/blockstorage.h>
|
||||
#include <policy/feerate.h>
|
||||
#include <policy/packages.h>
|
||||
@@ -86,7 +87,6 @@ enum class SynchronizationState {
|
||||
POST_INIT
|
||||
};
|
||||
|
||||
extern RecursiveMutex cs_main;
|
||||
extern GlobalMutex g_best_block_mutex;
|
||||
extern std::condition_variable g_best_block_cv;
|
||||
/** Used to notify getblocktemplate RPC of new tips. */
|
||||
|
||||
Reference in New Issue
Block a user