refactor: add kernel/cs_main.*

Co-authored-by: Anthony Towns <aj@erisian.com.au>
This commit is contained in:
fanquake
2022-09-15 10:45:07 +01:00
parent 296e882250
commit 282019cd3d
17 changed files with 44 additions and 27 deletions

View File

@@ -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. */