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/txmempool.h | |
parent | 296e88225096125b08665b97715c5b8ebb1d28ec (diff) |
refactor: add kernel/cs_main.*
Co-authored-by: Anthony Towns <aj@erisian.com.au>
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index c3bc86cc04..51b8af3286 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -21,6 +21,7 @@ #include <coins.h> #include <consensus/amount.h> #include <indirectmap.h> +#include <kernel/cs_main.h> #include <kernel/mempool_entry.h> #include <policy/feerate.h> #include <policy/packages.h> @@ -39,7 +40,6 @@ class CBlockIndex; class CChain; class Chainstate; -extern RecursiveMutex cs_main; /** Fake height value used in Coin to signify they are only in the memory pool (since 0.8) */ static const uint32_t MEMPOOL_HEIGHT = 0x7FFFFFFF; |