- 
After commit fa27f03b4943540aa2eab283d4cf50ad4a1a01f8
BlockManager::LoadBlockIndexis only called byBlockManager::LoadBlockIndexDB. Thus, it can be madeprivate. - 
After commit c600ee38168a460d3026eae0e289c976194aad14
m_best_invalidis no longer accessed byBlockManager::LoadBlockIndex. Thus, the unusedfriendcan be removed. 
Make BlockManager::LoadBlockIndex private #24917
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2204-priv-🔚 changing 2 files +7 −9- 
  
  MarcoFalke commented at 9:37 am on April 19, 2022: member
 - 
    
    Make BlockManager::LoadBlockIndex private fa1970f075
 - 
    
    MarcoFalke added the label Refactoring on Apr 19, 2022
 - 
  
  mruddy commented at 10:56 am on April 19, 2022: contributorACK fa1970f075292d7312654730a994a68c2ca8bc06 I verified by double checking references, then applying the patch, and running
make check. LGTM. - 
  
  DrahtBot commented at 5:08 pm on April 19, 2022: member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #24595 (deploymentstatus: move g_versionbitscache global to ChainstateManager by ajtowns)
 - #22564 (refactor: Move mutable globals cleared in 
::UnloadBlockIndextoBlockManagerby dongcarl) 
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
 - 
    
    fanquake merged this on Apr 26, 2022
 - 
    
    fanquake closed this on Apr 26, 2022
 - 
    
    MarcoFalke deleted the branch on Apr 27, 2022
 - 
    
    sidhujag referenced this in commit 82b8e545ee on Apr 29, 2022
 - 
    
    Fabcien referenced this in commit 9c56576e4d on Jan 28, 2023
 - 
    
    DrahtBot locked this on Apr 27, 2023
 
        
        
          
            
              
              MarcoFalke
            
          
            
              
              mruddy
            
          
            
              
              DrahtBot
            
          
            
              
              fanquake
            
          
        
          Labels
          
          
  
    
Refactoring
  
        
        
        
            
                
                github-metadata-mirror
            
            
            
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-11-04 03:13 UTC
        
    
    This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-11-04 03:13 UTC
        
            This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me