refactor: Remove confusing BlockIndex global

This commit is contained in:
MarcoFalke
2020-06-29 10:30:03 -04:00
parent 8edfc1715a
commit fa0dfdf447
5 changed files with 22 additions and 32 deletions

View File

@@ -886,9 +886,6 @@ CChainState& ChainstateActive();
/** Please prefer the identical ChainstateManager::ActiveChain */
CChain& ChainActive();
/** Please prefer the identical ChainstateManager::BlockIndex */
BlockMap& BlockIndex();
/** Global variable that points to the active block tree (protected by cs_main) */
extern std::unique_ptr<CBlockTreeDB> pblocktree;