pub trait CommitmentProtocol { }
Expand description
Marker trait for specific commitment protocols.
Generic parameter Protocol
used in commitment scheme traits provides a
context & configuration for the concrete implementations.
Introduction of such generic allows to:
- implement trait for foreign data types;
- add multiple implementations under different commitment protocols to the
combination of the same message and container type (each of each will have
its own
Proof
type defined as an associated generic).