1. 08 Nov, 2018 1 commit
    • Steven Allen's avatar
      deflake identify test · 00ba6a16
      Steven Allen authored
      This was probably failing (rarely) due to the fact that we're shrinking the
      timeout asynchronously (I think?).
      00ba6a16
  2. 04 Nov, 2018 2 commits
  3. 24 Oct, 2018 1 commit
    • Steven Allen's avatar
      don't disconnect on protocol version mismatch · dd7868a1
      Steven Allen authored
      Sending a protocol version is nice. However, this "disconnect if our versions
      are different" logic makes the version entirely useless (because we can't change
      it).
      
      Really, each indevidual protocol is versioned so let's just leave it at that. If
      we make a breaking change that requires a protocol bump, we can do that and
      then switch on the other side's version. However, we'll have to wait for the
      entire network to upgrade for that to work.
      dd7868a1
  4. 19 Oct, 2018 2 commits
  5. 29 Sep, 2018 1 commit
  6. 26 Sep, 2018 3 commits
  7. 21 Sep, 2018 1 commit
  8. 10 Sep, 2018 1 commit
  9. 09 Aug, 2018 1 commit
  10. 08 Aug, 2018 1 commit
  11. 27 Jul, 2018 1 commit
  12. 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
  13. 05 Jun, 2018 1 commit
  14. 28 Jan, 2018 1 commit
  15. 20 Jan, 2018 3 commits
    • Steven Allen's avatar
      add test for forgetting address records · d7c4c0a2
      Steven Allen authored
      d7c4c0a2
    • 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
  16. 13 Sep, 2017 1 commit
  17. 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
  18. 24 Apr, 2017 3 commits
  19. 12 Mar, 2017 1 commit
  20. 10 Jan, 2017 1 commit
  21. 05 Jan, 2017 1 commit
  22. 26 Dec, 2016 1 commit
  23. 18 Nov, 2016 1 commit
  24. 17 Nov, 2016 1 commit
  25. 10 Nov, 2016 1 commit
  26. 05 Nov, 2016 1 commit
  27. 25 Oct, 2016 1 commit
  28. 05 Oct, 2016 2 commits
  29. 04 Oct, 2016 3 commits