Expand description
This module provides types for VID disperse related data structures.
We have three types of VID disperse related structs:
ADVZ*: VID V0, The most original VID scheme, which has guaranteed recovery but very inefficient.AvidM*: VID V1, the efficient VID scheme, where we use it after the epocn upgrade. It’s more efficient but doesn’t guarantee recovery. A VID V1 commitment could correspond to some junk data, there’ll be a proof of incorrect encoding in this case.AvidmGf2*: VID V2, almost the same as VID V1 but we have a much more efficient recovery implementation.
Structs§
- ADVZ
Disperse - ADVZ dispersal data
- ADVZ
Disperse Share - ADVZ share and associated metadata for a single node
- AvidM
Disperse - AvidM dispersal data
- AvidM
Disperse Share - VID share and associated metadata for a single node
- Avidm
Gf2Disperse - AvidmGf2 dispersal data
- Avidm
Gf2Disperse Share - VID share and associated metadata for a single node
- Weights 🔒
- The weights and total weight used in VID calculations
Constants§
- VID_
TARGET_ TOTAL_ STAKE - The target total stake to scale to for VID.