1. 29 Sep, 2015 3 commits
    • Jeromy's avatar
      Implement ipns republisher · aea26285
      Jeromy authored
      This commit adds a very basic process that will periodically go through
      a list of given ids and republish the values for their ipns entries.
      
      License: MIT
      Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
      aea26285
    • Jeromy's avatar
      Fix dht queries · e26360b5
      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>
      e26360b5
    • Jeromy's avatar
      ipns record selection via sequence numbers · b47ab797
      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>
      b47ab797
  2. 15 Sep, 2015 1 commit
  3. 09 Sep, 2015 1 commit
  4. 23 Aug, 2015 1 commit
  5. 17 Aug, 2015 1 commit
  6. 16 Aug, 2015 1 commit
  7. 12 Aug, 2015 1 commit
  8. 19 Jul, 2015 1 commit
  9. 18 Jul, 2015 1 commit
  10. 14 Jul, 2015 1 commit
  11. 13 Jul, 2015 1 commit
  12. 11 Jul, 2015 1 commit
  13. 05 Jul, 2015 2 commits
  14. 04 Jul, 2015 2 commits
  15. 18 Jun, 2015 2 commits
  16. 03 Jun, 2015 1 commit
    • Jeromy's avatar
      implement an ipfs patch command for modifying merkledag objects · 57474f17
      Jeromy authored
      WIP: object creator command
      
      better docs
      
      move patch command into object namespace
      
      dont ignore cancel funcs
      
      addressing comment from CR
      
      add two new subcommands to object patch and clean up main Run func
      
      cancel contexts in early returns
      
      switch to util.Key
      57474f17
  17. 02 Jun, 2015 1 commit
  18. 01 Jun, 2015 1 commit
  19. 18 May, 2015 1 commit
  20. 28 Apr, 2015 1 commit
  21. 20 Apr, 2015 1 commit
    • Juan Batiz-Benet's avatar
      remove debugerrors · 720c8b55
      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.
      720c8b55
  22. 14 Apr, 2015 1 commit
  23. 02 Apr, 2015 1 commit
  24. 01 Apr, 2015 3 commits
  25. 31 Mar, 2015 1 commit
  26. 30 Mar, 2015 1 commit
  27. 19 Mar, 2015 1 commit
  28. 18 Mar, 2015 1 commit
  29. 07 Mar, 2015 4 commits
  30. 04 Mar, 2015 1 commit