Trait pallet_node_authorization::pallet::Config[][src]

pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type MaxWellKnownNodes: Get<u32>;
    type MaxPeerIdLength: Get<u32>;
    type AddOrigin: EnsureOrigin<Self::Origin>;
    type RemoveOrigin: EnsureOrigin<Self::Origin>;
    type SwapOrigin: EnsureOrigin<Self::Origin>;
    type ResetOrigin: EnsureOrigin<Self::Origin>;
    type WeightInfo: WeightInfo;
}
Expand description

The module configuration trait

Associated Types

The overarching event type.

The maximum number of well known nodes that are allowed to set

The maximum length in bytes of PeerId

The origin which can add a well known node.

The origin which can remove a well known node.

The origin which can swap the well known nodes.

The origin which can reset the well known nodes.

Weight information for extrinsics in this pallet.

Implementors