Module hotshot_types::vid
source · Expand description
This module provides:
- an opaque constructor
vid_scheme
that returns a new instance of a VID scheme. - type aliases
VidCommitment
,VidCommon
,VidShare
for [VidScheme
] assoc types.
Purpose: the specific choice of VID scheme is an implementation detail. This crate and all downstream crates should talk to the VID scheme only via the traits exposed here.
Structs§
- KZG_SRS 🔒SRS comment
- Newtype wrapper for a large payload range proof.
- Newtype wrapper for a small payload range proof.
- Newtype wrapper for a VID scheme type that impls [
VidScheme
], [PayloadProver
], [Precomputable
].
Functions§
- VID scheme constructor.
- Convert a [
Statement<'_, VidSchemeType>
] to a [Statement<'_, Advz>
]. - Convert a [
VidDisperse<Advz>
] to a [VidDisperse<VidSchemeType>
].