is_valid_peer_id_format

Function is_valid_peer_id_format 

Source
pub fn is_valid_peer_id_format(peer_id: &str) -> bool
Expand description

Validate peer ID format (basic check for IPFS/libp2p peer IDs). Checks if it starts with common prefixes and has reasonable length.