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