1. 13 Sep, 2016 1 commit
  2. 03 Sep, 2016 1 commit
  3. 02 Sep, 2016 1 commit
  4. 21 Aug, 2016 1 commit
  5. 26 Jul, 2016 1 commit
  6. 02 Jul, 2016 1 commit
  7. 01 Jul, 2016 1 commit
  8. 24 Jun, 2016 1 commit
  9. 15 Jun, 2016 1 commit
  10. 12 Jun, 2016 2 commits
  11. 11 Jun, 2016 1 commit
  12. 01 Jun, 2016 1 commit
  13. 17 May, 2016 1 commit
  14. 10 May, 2016 1 commit
  15. 29 Apr, 2016 1 commit
  16. 17 Apr, 2016 2 commits
  17. 11 Apr, 2016 1 commit
  18. 07 Apr, 2016 1 commit
  19. 30 Mar, 2016 1 commit
  20. 25 Mar, 2016 1 commit
  21. 09 Mar, 2016 1 commit
  22. 18 Feb, 2016 1 commit
  23. 13 Feb, 2016 2 commits
  24. 31 Jan, 2016 2 commits
  25. 30 Jan, 2016 2 commits
  26. 12 Jan, 2016 1 commit
  27. 02 Oct, 2015 1 commit
  28. 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
  29. 18 Jun, 2015 1 commit
    • rht's avatar
      Replace Critical{,f} with Error{,f} · d790d087
      rht authored
      Except when there is an explicit os.Exit(1) after the Critical line,
      then replace with Fatal{,f}.
      golang's log and logrus already call os.Exit(1) by default with Fatal.
      
      License: MIT
      Signed-off-by: default avatarrht <rhtbot@gmail.com>
      d790d087
  30. 01 Jun, 2015 1 commit
  31. 28 Apr, 2015 1 commit
  32. 14 Apr, 2015 1 commit
  33. 02 Apr, 2015 1 commit
  34. 31 Mar, 2015 1 commit