Type Definition polkadot_primitives::v0::ValidatorId [−][src]
pub type ValidatorId = Public;
Expand description
Identity that parachain validators use when signing validation messages.
For now we assert that parachain validator set is exactly equivalent to the authority set, and
so we define it to be the same type as SessionKey
. In the future it may have different crypto.
Trait Implementations
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
If T::size_of
is a constant, consider implementing constant_size
as well. Read more
Used to optimize MallocSizeOf
implementation for collections
like Vec
and HashMap
to avoid iterating over them unnecessarily.
The Self: Sized
bound is for object safety. Read more