mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Remove unused includes from txmempool.h
... and move them to where they are really needed. This was found by IWYU: txmempool.h should remove these lines: - #include <random.h> // lines 29-29 - class CBlockIndex; // lines 43-43 - class Chainstate; // lines 45-45 Also, move the stdlib section to the right place. Can be reviewed with: --color-moved=dimmed-zebra
This commit is contained in:
@@ -21,10 +21,11 @@
|
||||
#include <boost/multi_index_container.hpp>
|
||||
|
||||
class ArgsManager;
|
||||
class ChainstateManager;
|
||||
class CBlockIndex;
|
||||
class CChainParams;
|
||||
class CScript;
|
||||
class Chainstate;
|
||||
class ChainstateManager;
|
||||
|
||||
namespace Consensus { struct Params; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user