libp2p::kad

Constant ALPHA_VALUE

pub const ALPHA_VALUE: NonZero<usize>;
Available on crate feature kad only.
Expand description

The α parameter of the Kademlia specification.

This parameter determines the default parallelism for iterative queries, i.e. the allowed number of in-flight requests that an iterative query is waiting for at a particular time while it continues to make progress towards locating the closest peers to a key.

The current value is 3.