referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_mixnet::BoundedMixnodeFor

source ·
pub type BoundedMixnodeFor<T> = BoundedMixnode<BoundedVec<BoundedVec<u8, <T as Config>::MaxExternalAddressSize>, <T as Config>::MaxExternalAddressesPerMixnode>>;
Expand description

BoundedMixnode type for the given configuration.

Aliased Type§

struct BoundedMixnodeFor<T> {
    pub kx_public: [u8; 32],
    pub peer_id: [u8; 32],
    pub external_addresses: BoundedVec<BoundedVec<u8, <T as Config>::MaxExternalAddressSize>, <T as Config>::MaxExternalAddressesPerMixnode>,
}

Fields§

§kx_public: [u8; 32]

Key-exchange public key for the mixnode.

§peer_id: [u8; 32]

libp2p peer ID of the mixnode.

§external_addresses: BoundedVec<BoundedVec<u8, <T as Config>::MaxExternalAddressSize>, <T as Config>::MaxExternalAddressesPerMixnode>

External addresses for the mixnode, in multiaddr format, UTF-8 encoded.