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.
- stmt_
conversion ๐Convert a [Statement<'_, VidSchemeType>
] to a [Statement<'_, Advz>
]. - Convert a [
VidDisperse<Advz>
] to a [VidDisperse<VidSchemeType>
].