ProtocolId

Type Alias ProtocolId 

Source
pub type ProtocolId = Vec<u8>;
Expand description

Identifier for a protocol.

A BLAKE3 hash function is performed against each protocol identifier which is registered with p2panda-net, using the network identifier as an additional input. Even if two instances of p2panda-net are created with the same network protocols, any communication attempts will fail if they are not using the same network identifier.

Aliased Typeยง

pub struct ProtocolId { /* private fields */ }