Releases: libp2p/go-libp2p-kad-dht
Releases · libp2p/go-libp2p-kad-dht
v0.7.2
v0.7.1
Release v0.7.0
Introduces a new "dual dht" that constructs two DHTs, one for a local LAN and one for the WAN.
v0.6.2
v0.6.1
v0.5.2
v0.5.1
- Reduce inbound stream idle timeout (time before we kill idle streams) from 10 to 1 minute. This should reduce memory consumption.
- Update dependencies.
- Make the routing table's latency tolerance (max latency of peers in the routing table) configurable.
- Obey context when blocking on sending messages to peers.
- Fix a timer leak.
- Improve metrics.
- Name metric views.
- Count message and request attempts so the message count is always greater than the error count.
- Don't count stream resets as message errors (unless we receive a partial message).
- Make sure to cleanup all goroutines when canceling a query.
v0.5.0
Switch to using multihashes in provider records. When providing a CID, we now strip the codec/version and provide the raw multihash. When searching for a CID, we do the same.
- For CIDv0, this changes nothing. CIDv0 CIDs are just raw multihashes.
- For CIDv1, new nodes and old nodes will not find each other. Given the current state of content routing and the fact that most files use CIDv0, this shouldn't cause too many issues (and it's better to do this before we fix the DHT).
This release also updates the bootstrap list to remove the bootstrappers with 1024 bit keys.
Finally, this improves the bucket refreshing logic to ensure we better connect to nodes close to us in the DHT.
v0.4.1
- Prioritize closer peers in the connection manager. Otherwise, the connection manager can partition the network.
- Add a feature for disabling storing providers/values (only usable in a forked network).
- Correctly close the channel returned by RefreshRoutingTable.
v0.4.0
- Updates go-libp2p-kbucket to fix a bug where we might have peers in our routing table but not use them.
- Fixes a bug where we might run out of peers in our routing table, have connected peers, and not use them. We now try to re-fill our routing table from connected peers whenever we run out of peers in the DHT.
- Updates go-multiaddr to switch to /p2p multiaddrs by default (hence the 0.4.0 version bump).