1. 07 Jun, 2016 1 commit
  2. 01 Jun, 2016 1 commit
  3. 31 May, 2016 1 commit
  4. 17 May, 2016 1 commit
  5. 16 May, 2016 1 commit
  6. 13 May, 2016 1 commit
  7. 10 May, 2016 1 commit
  8. 29 Apr, 2016 1 commit
  9. 27 Apr, 2016 1 commit
  10. 17 Apr, 2016 2 commits
  11. 11 Apr, 2016 1 commit
  12. 07 Apr, 2016 1 commit
  13. 30 Mar, 2016 1 commit
  14. 09 Mar, 2016 1 commit
  15. 13 Feb, 2016 1 commit
  16. 31 Jan, 2016 2 commits
  17. 30 Jan, 2016 2 commits
  18. 12 Jan, 2016 2 commits
  19. 01 Oct, 2015 1 commit
  20. 29 Sep, 2015 2 commits
    • Jeromy's avatar
      Fix dht queries · badc7388
      Jeromy authored
      Queries previously would sometimes only query three (alpha value) peers
      before halting the operation. This PR changes the number of peers
      grabbed from the routing table to start a query to K.
      
      Dht nodes would also not respond with enough peers, as per the kademlia
      paper, this has been changed to from 4 to 'K'.
      
      The query mechanism itself also was flawed in that it would pull all the
      peers it had yet to query out of the queue and 'start' the query for
      them. The concurrency rate limiting was done inside the 'queryPeer'
      method after the goroutine was spawned. This did not allow for peers
      receiver from query replies to be properly queried in order of distance.
      
      License: MIT
      Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
      badc7388
    • Jeromy's avatar
      ipns record selection via sequence numbers · 8d431810
      Jeromy authored
      This commit adds a sequence number to the IpnsEntry protobuf
      that is used to determine which among a set of entries for the same key
      is the 'most correct'.
      
      GetValues has been added to the routing interface to retrieve a set of
      records from the dht, for the caller to select from.
      
      GetValue (singular) will call GetValues, select the 'best' record, and
      then update that record to peers we received outdated records from.
      This will help keep the dht consistent.
      
      License: MIT
      Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
      8d431810
  21. 12 Aug, 2015 1 commit
  22. 14 Jul, 2015 1 commit
  23. 01 Jun, 2015 1 commit
  24. 20 Apr, 2015 1 commit
    • Juan Batiz-Benet's avatar
      remove debugerrors · 05a48620
      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.
      05a48620
  25. 31 Mar, 2015 1 commit
  26. 30 Mar, 2015 1 commit
  27. 27 Feb, 2015 3 commits
  28. 25 Feb, 2015 1 commit
    • Henry's avatar
      rewrote import paths of go.net/context to use golang.org/x/context · 9bc5b3d5
      Henry authored
      - updated go-ctxgroup and goprocess
      ctxgroup: AddChildGroup was changed to AddChild. Used in two files:
      - p2p/net/mock/mock_net.go
      - routing/dht/dht.go
      
      - updated context from hg repo to git
      prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative)
      represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo
      
      - updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c)
      
      Aaron Jacobs (2):
      net/context: Don't accept a context in the DoSomethingSlow example.
      context: Be clear that users must cancel the result of WithCancel.
      
      Andrew Gerrand (1):
      go.net: use golang.org/x/... import paths
      
      Bryan C. Mills (1):
      net/context: Don't leak goroutines in Done example.
      
      Damien Neil (1):
      context: fix removal of cancelled timer contexts from parent
      
      David Symonds (2):
      context: Fix WithValue example code.
      net: add import comments.
      
      Sameer Ajmani (1):
      context: fix TestAllocs to account for ints in interfaces
      9bc5b3d5
  29. 24 Feb, 2015 3 commits
  30. 27 Jan, 2015 1 commit
  31. 25 Jan, 2015 1 commit