Registry / networking / polkadot-node-network-protocol

polkadot-node-network-protocol

JSON →
library29.0.0rscratesunverified

Primitives types for the Polkadot node-side network protocol.

# Cargo.toml [dependencies] polkadot-node-network-protocol = "29.0.0"
INSTALL
IMPORT
SIG · POLKADOT-NODE-NETW
P
polkadot-node-network-protocol
networkingrustv29.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PeerId
use polkadot_node_network_protocol::PeerId;

Generate a random PeerId.

use polkadot_node_network_protocol::PeerId; fn main() { let peer = PeerId::random(); println!("{}", peer); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
29.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
polkadot-node-network-protocol — cargo add polkadot-node-network-protocol · libregistry