1. 30 May, 2015 1 commit
    • Jeromy's avatar
      Move findproviders out of main block request path · e5aa2acc
      Jeromy authored
      This PR moves the addition of new blocks to our wantlist (and their
      subsequent broadcast to the network) outside of the clientWorker loop.
      This allows blocks to more quickly propogate to peers we are already
      connected to, where before we had to wait for the previous findProviders
      call in clientworker to complete before we could notify our partners of
      the next blocks that we want. I then changed the naming of the
      clientWorker and related variables to be a bit more appropriate to the
      model. Although the clientWorker (now named providerConnector) feels a
      bit awkward and should probably be changed.
      
      fix test assumption
      e5aa2acc
  2. 26 May, 2015 1 commit
  3. 22 May, 2015 2 commits
  4. 21 May, 2015 15 commits
  5. 20 May, 2015 1 commit
  6. 19 May, 2015 1 commit
  7. 18 May, 2015 1 commit
  8. 06 May, 2015 2 commits
  9. 05 May, 2015 1 commit
  10. 04 May, 2015 1 commit
  11. 02 May, 2015 1 commit
  12. 30 Apr, 2015 1 commit
  13. 29 Apr, 2015 1 commit
  14. 28 Apr, 2015 2 commits
  15. 20 Apr, 2015 1 commit
    • Juan Batiz-Benet's avatar
      remove debugerrors · 70f2b6b0
      Juan Batiz-Benet authored
      We now consider debugerrors harmful: we've run into cases where
      debugerror.Wrap() hid valuable error information (err == io.EOF?).
      I've removed them from the main code, but left them in some tests.
      Go errors are lacking, but unfortunately, this isn't the solution.
      
      It is possible that debugerros.New or debugerrors.Errorf should
      remain still (i.e. only remove debugerrors.Wrap) but we don't use
      these errors often enough to keep.
      70f2b6b0
  16. 19 Apr, 2015 2 commits
  17. 17 Apr, 2015 2 commits
  18. 07 Apr, 2015 4 commits