pub trait ConsensusCodec<Ctx>where
Ctx: Context,
Self: Codec<Ctx::ProposalPart> + Codec<SignedConsensusMsg<Ctx>> + Codec<LivenessMsg<Ctx>> + Codec<StreamMessage<Ctx::ProposalPart>>,{ }Expand description
Codec for consensus messages.
This trait is automatically implemented for any type that implements: