good morning!!!!

Skip to content
Snippets Groups Projects
  1. Sep 02, 2016
  2. Jul 25, 2016
  3. Jun 07, 2016
  4. Jun 06, 2016
  5. May 17, 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. Nov 19, 2015
  8. Oct 28, 2015
  9. Oct 21, 2015
  10. Oct 19, 2015
  11. Oct 03, 2015
  12. Jul 29, 2015
  13. Jul 23, 2015
  14. Jul 22, 2015
  15. Jul 07, 2015
  16. Jun 30, 2015
  17. Jun 18, 2015
  18. Jun 17, 2015
  19. Jun 15, 2015
  20. Jun 10, 2015
  21. Jun 09, 2015
  22. Jun 08, 2015
  23. Jun 05, 2015
  24. May 28, 2015
  25. May 26, 2015
  26. May 23, 2015
  27. May 18, 2015
  28. May 15, 2015
Loading