aboutsummaryrefslogtreecommitdiff
path: root/src/node/blockstorage.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-09-15 10:45:07 +0100
committerfanquake <fanquake@gmail.com>2023-01-05 09:05:14 +0000
commit282019cd3ddb060db350654e6f855f7ea37e0d34 (patch)
tree0d4cf47437572b3d80a6275392d291701ec14f3f /src/node/blockstorage.h
parent296e88225096125b08665b97715c5b8ebb1d28ec (diff)
downloadbitcoin-282019cd3ddb060db350654e6f855f7ea37e0d34.tar.xz
refactor: add kernel/cs_main.*
Co-authored-by: Anthony Towns <aj@erisian.com.au>
Diffstat (limited to 'src/node/blockstorage.h')
-rw-r--r--src/node/blockstorage.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h
index d4411a7776..cdf667c754 100644
--- a/src/node/blockstorage.h
+++ b/src/node/blockstorage.h
@@ -8,6 +8,7 @@
#include <attributes.h>
#include <chain.h>
#include <fs.h>
+#include <kernel/cs_main.h>
#include <protocol.h>
#include <sync.h>
#include <txdb.h>
@@ -17,8 +18,6 @@
#include <unordered_map>
#include <vector>
-extern RecursiveMutex cs_main;
-
class ArgsManager;
class BlockValidationState;
class CBlock;