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/chain.h | |
parent | 296e88225096125b08665b97715c5b8ebb1d28ec (diff) |
refactor: add kernel/cs_main.*
Co-authored-by: Anthony Towns <aj@erisian.com.au>
Diffstat (limited to 'src/chain.h')
-rw-r--r-- | src/chain.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chain.h b/src/chain.h index fbbb715986..f5dd0fd315 100644 --- a/src/chain.h +++ b/src/chain.h @@ -9,6 +9,7 @@ #include <arith_uint256.h> #include <consensus/params.h> #include <flatfile.h> +#include <kernel/cs_main.h> #include <primitives/block.h> #include <sync.h> #include <uint256.h> @@ -38,8 +39,6 @@ static constexpr int64_t TIMESTAMP_WINDOW = MAX_FUTURE_BLOCK_TIME; */ static constexpr int64_t MAX_BLOCK_TIME_GAP = 90 * 60; -extern RecursiveMutex cs_main; - class CBlockFileInfo { public: |