1. 04 Nov, 2018 1 commit
  2. 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
  3. 29 Sep, 2018 1 commit
  4. 26 Sep, 2018 3 commits
  5. 21 Sep, 2018 1 commit
  6. 10 Sep, 2018 1 commit
  7. 09 Aug, 2018 1 commit
  8. 08 Aug, 2018 1 commit
  9. 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
  10. 05 Jun, 2018 1 commit
  11. 28 Jan, 2018 1 commit
  12. 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
  13. 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
  14. 24 Apr, 2017 3 commits
  15. 10 Jan, 2017 1 commit
  16. 05 Jan, 2017 1 commit
  17. 26 Dec, 2016 1 commit
  18. 18 Nov, 2016 1 commit
  19. 17 Nov, 2016 1 commit
  20. 10 Nov, 2016 1 commit
  21. 05 Nov, 2016 1 commit
  22. 05 Oct, 2016 1 commit
  23. 04 Oct, 2016 2 commits
  24. 03 Oct, 2016 1 commit
  25. 11 Sep, 2016 4 commits
  26. 23 Aug, 2016 1 commit
  27. 18 Aug, 2016 1 commit
  28. 16 Aug, 2016 1 commit
  29. 10 Aug, 2016 1 commit
  30. 27 Jun, 2016 1 commit