good morning!!!!

Skip to content
Snippets Groups Projects
  1. Feb 27, 2017
  2. Feb 23, 2017
  3. Jul 25, 2016
  4. Jul 22, 2016
  5. Jul 15, 2016
  6. May 09, 2016
    • Felix Lange's avatar
      core, eth, miner: improve shutdown synchronisation · 56ed6152
      Felix Lange authored
      Shutting down geth prints hundreds of annoying error messages in some
      cases. The errors appear because the Stop method of eth.ProtocolManager,
      miner.Miner and core.TxPool is asynchronous. Left over peer sessions
      generate events which are processed after Stop even though the database
      has already been closed.
      
      The fix is to make Stop synchronous using sync.WaitGroup.
      
      For eth.ProtocolManager, in order to make use of WaitGroup safe, we need
      a way to stop new peer sessions from being added while waiting on the
      WaitGroup. The eth protocol Run function now selects on a signaling
      channel and adds to the WaitGroup only if ProtocolManager is not
      shutting down.
      
      For miner.worker and core.TxPool the number of goroutines is static,
      WaitGroup can be used in the usual way without additional
      synchronisation.
      56ed6152
  7. Oct 28, 2015
  8. Oct 22, 2015
  9. Oct 19, 2015
  10. Sep 11, 2015
  11. Aug 25, 2015
  12. Aug 24, 2015
  13. Aug 21, 2015
  14. Jul 23, 2015
  15. Jul 22, 2015
  16. Jul 09, 2015
  17. Jul 07, 2015
  18. Jul 01, 2015
  19. Jun 30, 2015
  20. Jun 09, 2015
  21. Jun 08, 2015
  22. May 21, 2015
  23. May 20, 2015
  24. May 18, 2015
  25. Apr 24, 2015
  26. Apr 23, 2015
  27. Apr 19, 2015
  28. Apr 18, 2015
  29. Apr 17, 2015
Loading