1. 06 6月, 2016 3 次提交
  2. 12 5月, 2016 1 次提交
  3. 16 3月, 2016 1 次提交
  4. 23 2月, 2016 1 次提交
  5. 10 2月, 2016 1 次提交
  6. 04 1月, 2016 1 次提交
  7. 30 12月, 2015 1 次提交
  8. 18 12月, 2015 1 次提交
    • F
      eth/downloader: fix negative balance issue in tests · 9be5d5cd
      Felix Lange 提交于
      The test chain generated by makeChainFork included invalid uncle
      headers, crashing the generator during the state commit.
      
      The headers were invalid because they used the iteration counter as the
      block number, even though makeChainFork uses a block with number > 0 as
      the parent. Fix this by introducing BlockGen.Number, which allows
      accessing the actual number of the block being generated.
      9be5d5cd
  9. 19 11月, 2015 2 次提交
    • F
      eth/downloader: run tests in parallel · dd09af27
      Felix Lange 提交于
      dd09af27
    • F
      eth/downloader: don't hang for spurious deliveries · 900da3d8
      Felix Lange 提交于
      Unexpected deliveries could block indefinitely if they arrived at the
      right time. The fix is to ensure that the cancellation channel is
      always closed when the sync ends, unblocking any deliveries. Also remove
      the atomic check for whether a sync is currently running because it
      doesn't help and can be misleading.
      
      Cancelling always seems to break the tests though. The downloader
      spawned d.process whenever new data arrived, making it somewhat hard to
      track when block processing was actually done. Fix this by running
      d.process in a dedicated goroutine that is tied to the lifecycle of the
      sync. d.process gets notified of new work by the queue instead of being
      invoked all the time. This removes a ton of weird workaround code,
      including a hairy use of atomic CAS.
      900da3d8
  10. 21 10月, 2015 1 次提交
  11. 19 10月, 2015 5 次提交
  12. 02 10月, 2015 1 次提交
  13. 15 9月, 2015 2 次提交
  14. 11 9月, 2015 1 次提交
  15. 25 8月, 2015 1 次提交
  16. 24 8月, 2015 1 次提交
  17. 29 7月, 2015 1 次提交
  18. 24 7月, 2015 1 次提交
  19. 23 7月, 2015 1 次提交
  20. 09 7月, 2015 1 次提交
  21. 07 7月, 2015 1 次提交
  22. 03 7月, 2015 1 次提交
  23. 01 7月, 2015 2 次提交
  24. 30 6月, 2015 2 次提交
  25. 18 6月, 2015 4 次提交
  26. 17 6月, 2015 1 次提交
  27. 15 6月, 2015 1 次提交