1. 15 Jun, 2018 1 commit
    • Steven Allen's avatar
      reduce error to warning and log the error · b4428fda
      Steven Allen authored
      This happens all the time in tests where we intentionally use fake keys for
      performance.
      
      Anyways, users probably don't want their logs spammed with errors they can't do
      anything about.
      b4428fda
  2. 05 Jun, 2018 1 commit
  3. 20 Jan, 2018 2 commits
    • Steven Allen's avatar
      register identify service netNotify · ea95a94e
      Steven Allen authored
      This way, we actually process disconnect notifications (and reduce the lifetime
      on peer addr records).
      ea95a94e
    • Steven Allen's avatar
      fix peerstore apocalypse redux · 096a2c83
      Steven Allen authored
      This commit prevents us from repeatedly extending the lifetimes of all observed
      addresses if a peer keeps on reconnecting.
      
      It also fixes two race conditions:
      
      1. We may end up processing a disconnect after a re-connect and may
      accidentally give the addresses associated with that peer a
      RecentlyConnectedAddrTTL instead of a ConnectedAddrTTL.
      
      2. We may end up processing a connect after the associated disconnect storing
      the associated peer addresses indefinitely.
      096a2c83
  4. 31 May, 2017 1 commit
    • Lars Gierth's avatar
      basichost: refactor BasicHost construction · f0453a24
      Lars Gierth authored
      There were previously 4 different ways of passing various options
      into BasicHost construction.
      
      1. Function parameters to New
      2. Option parameters to New
      3. Global variables, e.g. NegotiateTimeout
      4. Options struct, in the calling code in go-ipfs
      
      This changeset deprecated all of these, and introduces the HostOpts
      struct to replace them. It also introduces a new constructor called
      NewHost, which accepts a *HostOpts.
      
      The old New constructor continues to work the same way,
      but is from now on deprecated too.
      f0453a24
  5. 10 Jan, 2017 1 commit
  6. 05 Jan, 2017 1 commit
  7. 26 Dec, 2016 1 commit
  8. 18 Nov, 2016 1 commit
  9. 10 Nov, 2016 1 commit
  10. 05 Nov, 2016 1 commit
  11. 05 Oct, 2016 1 commit
  12. 04 Oct, 2016 2 commits
  13. 03 Oct, 2016 1 commit
  14. 11 Sep, 2016 3 commits
  15. 23 Aug, 2016 1 commit
  16. 18 Aug, 2016 1 commit
  17. 16 Aug, 2016 1 commit
  18. 10 Aug, 2016 1 commit
  19. 27 Jun, 2016 1 commit
  20. 20 Jun, 2016 1 commit
  21. 01 Jun, 2016 1 commit
  22. 31 May, 2016 1 commit
  23. 15 May, 2016 1 commit
  24. 27 Apr, 2016 2 commits
  25. 12 Apr, 2016 1 commit
  26. 06 Apr, 2016 2 commits
  27. 03 Mar, 2016 1 commit
  28. 17 Feb, 2016 1 commit
  29. 04 Jan, 2016 1 commit
  30. 11 Dec, 2015 1 commit
  31. 07 Dec, 2015 1 commit
    • Jeromy's avatar
      WIP · d91b419e
      Jeromy authored
      d91b419e
  32. 19 Nov, 2015 1 commit
  33. 17 Nov, 2015 1 commit
  34. 16 Nov, 2015 1 commit