Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gx: update go-libp2p-peerstore #261

Closed
wants to merge 2 commits into from
Closed

gx: update go-libp2p-peerstore #261

wants to merge 2 commits into from

Commits on Jan 5, 2018

  1. Configuration menu
    Copy the full SHA
    2cf5659 View commit details
    Browse the repository at this point in the history
  2. fix peerstore apocalypse redux

    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.
    Stebalien committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    5440941 View commit details
    Browse the repository at this point in the history