diff options
author | fanquake <fanquake@gmail.com> | 2022-09-15 10:45:07 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-01-05 09:05:14 +0000 |
commit | 282019cd3ddb060db350654e6f855f7ea37e0d34 (patch) | |
tree | 0d4cf47437572b3d80a6275392d291701ec14f3f /src/validation.h | |
parent | 296e88225096125b08665b97715c5b8ebb1d28ec (diff) | |
download | bitcoin-282019cd3ddb060db350654e6f855f7ea37e0d34.tar.xz |
refactor: add kernel/cs_main.*
Co-authored-by: Anthony Towns <aj@erisian.com.au>
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index 63ff9247be..2f33dc58dd 100644 --- a/src/validation.h +++ b/src/validation.h @@ -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. */ |