-
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-core
andlibp2p-swarm
. -
Update
sha2
dependency.
-
Increase default max packet size from 4KiB to 16KiB. See issue 1622.
-
Add
Distance::log2
(PR 1719). -
Update
libp2p-swarm
andlibp2p-core
.
- Explicitly convert from u8 to usize in
BucketIndex::range
to prevent type inference issues (PR 1716).
-
Store addresses in provider records. See PR 1708.
-
Update
libp2p-core
andlibp2p-swarm
dependencies. -
Add
KBucketRef::range
exposing the minimum inclusive and maximum inclusiveDistance
for the bucket (PR 1680). -
Add
NetworkBehaviour::inject_address_change
implementation (PR 1649).
-
Remove
KademliaEvent::Discovered
(PR 1632) -
More control and insight for k-buckets (PR 1628). In particular,
Kademlia::kbuckets_entries
has been removed and replaced byKademlia::kbuckets
/Kademlia::kbucket
which provide more information than just the peer IDs. FurthermoreKademlia::add_address
now returns a result and two new events,KademliaEvent::RoutablePeer
andKademliaEvent::PendingRoutablePeer
are 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).