mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 16:53:52 +02:00
refactor: Remove confusing BlockIndex global
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user