1. 03 Oct, 2015 1 commit
  2. 02 Oct, 2015 2 commits
  3. 01 Oct, 2015 2 commits
  4. 30 Sep, 2015 2 commits
  5. 29 Sep, 2015 3 commits
    • Jeromy's avatar
      Implement ipns republisher · 815a031f
      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>
      815a031f
    • Jeromy's avatar
      Fix dht queries · 235a9ec5
      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>
      235a9ec5
    • Jeromy's avatar
      ipns record selection via sequence numbers · cfcc3d6a
      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>
      cfcc3d6a
  6. 28 Sep, 2015 1 commit
  7. 27 Sep, 2015 7 commits
  8. 26 Sep, 2015 2 commits
  9. 25 Sep, 2015 9 commits
  10. 24 Sep, 2015 3 commits
  11. 23 Sep, 2015 2 commits
  12. 21 Sep, 2015 2 commits
  13. 16 Sep, 2015 4 commits