good morning!!!!

Skip to content
Snippets Groups Projects
Forked from github / maticnetwork / bor
Source project has a limited visibility.
  • Felix Lange's avatar
    d6c5f241
    eth: improve shutdown synchronization (#20695) · d6c5f241
    Felix Lange authored
    * eth: improve shutdown synchronization
    
    Most goroutines started by eth.Ethereum didn't have any shutdown sync at
    all, which lead to weird error messages when quitting the client.
    
    This change improves the clean shutdown path by stopping all internal
    components in dependency order and waiting for them to actually be
    stopped before shutdown is considered done. In particular, we now stop
    everything related to peers before stopping 'resident' parts such as
    core.BlockChain.
    
    * eth: rewrite sync controller
    
    * eth: remove sync start debug message
    
    * eth: notify chainSyncer about new peers after handshake
    
    * eth: move downloader.Cancel call into chainSyncer
    
    * eth: make post-sync block broadcast synchronous
    
    * eth: add comments
    
    * core: change blockchain stop message
    
    * eth: change closeBloomHandler channel type
    eth: improve shutdown synchronization (#20695)
    Felix Lange authored
    * eth: improve shutdown synchronization
    
    Most goroutines started by eth.Ethereum didn't have any shutdown sync at
    all, which lead to weird error messages when quitting the client.
    
    This change improves the clean shutdown path by stopping all internal
    components in dependency order and waiting for them to actually be
    stopped before shutdown is considered done. In particular, we now stop
    everything related to peers before stopping 'resident' parts such as
    core.BlockChain.
    
    * eth: rewrite sync controller
    
    * eth: remove sync start debug message
    
    * eth: notify chainSyncer about new peers after handshake
    
    * eth: move downloader.Cancel call into chainSyncer
    
    * eth: make post-sync block broadcast synchronous
    
    * eth: add comments
    
    * core: change blockchain stop message
    
    * eth: change closeBloomHandler channel type
Code owners
Assign users and groups as approvers for specific file changes. Learn more.