- Update
libp2p-swarm.
- Update dependencies.
- Update dependencies.
- Add From impls for
kbucket::Key. PR 1909.
- Update
libp2p-coreandlibp2p-swarm.
-
Update
libp2p-coreandlibp2p-swarm. -
Have two
ProviderRecords be equal iff theirkeyandproviderfields are equal. PR 1850.
-
Upon newly established connections, delay routing table updates until after the configured protocol name has been confirmed by the connection handler, i.e. until after at least one substream has been successfully negotiated. In configurations with different protocol names, this avoids undesirable nodes being included in the local routing table at least temporarily. PR 1821.
-
Update dependencies.
-
Update
libp2p-coreandlibp2p-swarm. -
Update
sha2dependency.
-
Increase default max packet size from 4KiB to 16KiB. See issue 1622.
-
Add
Distance::log2(PR 1719). -
Update
libp2p-swarmandlibp2p-core.
- Explicitly convert from u8 to usize in
BucketIndex::rangeto prevent type inference issues (PR 1716).
-
Store addresses in provider records. See PR 1708.
-
Update
libp2p-coreandlibp2p-swarmdependencies. -
Add
KBucketRef::rangeexposing the minimum inclusive and maximum inclusiveDistancefor the bucket (PR 1680). -
Add
NetworkBehaviour::inject_address_changeimplementation (PR 1649).
-
Remove
KademliaEvent::Discovered(PR 1632) -
More control and insight for k-buckets (PR 1628). In particular,
Kademlia::kbuckets_entrieshas been removed and replaced byKademlia::kbuckets/Kademlia::kbucketwhich provide more information than just the peer IDs. FurthermoreKademlia::add_addressnow returns a result and two new events,KademliaEvent::RoutablePeerandKademliaEvent::PendingRoutablePeerare introduced (but are not required to be acted upon in order to retain existing behaviour). For more details, see the PR description.
- Maintenance release (PR 1623).