libp2p / go-libp2p-kbucket

A kbucket implementation for use as a routing table
MIT License
48 stars 35 forks source link

Add LastUsefulAt and LastSuccessfulQueryAt for each peer #75

Closed aarshkshah1992 closed 4 years ago

aarshkshah1992 commented 4 years ago

LastUsefulAt helps evict peers that aren't being useful. LastSuccessfulQueryAt decides which peers we ping periodically to check liveliness.