cyphr 0.1.0

Cyphr self-sovereign identity protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::parsed_coz::VerifiedCoz;

/// A sequence of one or more related mutation cozies.
/// In Cyphr, mutation cozies MUST be grouped by transaction.
#[derive(Debug, Clone)]
pub struct Transaction(pub Vec<VerifiedCoz>);

/// The commit transaction is a specialized sequence of cozies containing the finality marker.
/// The commit transaction MUST be the exact last transaction in the commit.
#[derive(Debug, Clone)]
pub struct CommitTransaction(pub Vec<VerifiedCoz>);