1. 04 Aug, 2016 1 commit
  2. 05 Jul, 2016 1 commit
  3. 04 Jul, 2016 1 commit
  4. 24 Jun, 2016 1 commit
  5. 15 Jun, 2016 2 commits
  6. 12 Jun, 2016 1 commit
  7. 11 Jun, 2016 1 commit
  8. 07 Jun, 2016 1 commit
  9. 01 Jun, 2016 1 commit
  10. 31 May, 2016 1 commit
  11. 17 May, 2016 1 commit
  12. 16 May, 2016 1 commit
  13. 13 May, 2016 1 commit
  14. 10 May, 2016 1 commit
  15. 29 Apr, 2016 1 commit
  16. 27 Apr, 2016 1 commit
  17. 17 Apr, 2016 2 commits
  18. 11 Apr, 2016 1 commit
  19. 07 Apr, 2016 1 commit
  20. 30 Mar, 2016 1 commit
  21. 09 Mar, 2016 1 commit
  22. 13 Feb, 2016 1 commit
  23. 31 Jan, 2016 2 commits
  24. 30 Jan, 2016 2 commits
  25. 12 Jan, 2016 2 commits
  26. 01 Oct, 2015 1 commit
  27. 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
  28. 12 Aug, 2015 1 commit
  29. 14 Jul, 2015 1 commit
  30. 01 Jun, 2015 1 commit
  31. 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
  32. 31 Mar, 2015 1 commit
  33. 30 Mar, 2015 1 commit
  34. 27 Feb, 2015 1 commit