Trait ConsensusCommit
client_side_validation
pub trait ConsensusCommit: Sized + CommitEncode { type Commitment: CommitVerify<Vec<u8>>; pub fn consensus_commit(self) -> Self::Commitment { ... } pub fn consensus_verify(self, commitment: &Self::Commitment) -> bool { ... } }
type Commitment: CommitVerify<Vec<u8>>
pub fn consensus_commit(self) -> Self::Commitment
pub fn consensus_verify(self, commitment: &Self::Commitment) -> bool