Type Alias hotshot_types::consensus::VidShares
source · pub type VidShares<TYPES> = BTreeMap<<TYPES as NodeType>::Time, HashMap<<TYPES as NodeType>::SignatureKey, Proposal<TYPES, VidDisperseShare<TYPES>>>>;
Expand description
A type alias for BTreeMap<T::Time, HashMap<T::SignatureKey, Proposal<T, VidDisperseShare<T>>>>
Aliased Type§
struct VidShares<TYPES> {
root: Option<NodeRef<Owned, <TYPES as NodeType>::Time, HashMap<<TYPES as NodeType>::SignatureKey, Proposal<TYPES, VidDisperseShare<TYPES>>>, LeafOrInternal>>,
length: usize,
pub(super) alloc: ManuallyDrop<Global>,
_marker: PhantomData<Box<(<TYPES as NodeType>::Time, HashMap<<TYPES as NodeType>::SignatureKey, Proposal<TYPES, VidDisperseShare<TYPES>>>)>>,
}
Fields§
§root: Option<NodeRef<Owned, <TYPES as NodeType>::Time, HashMap<<TYPES as NodeType>::SignatureKey, Proposal<TYPES, VidDisperseShare<TYPES>>>, LeafOrInternal>>
§length: usize
§alloc: ManuallyDrop<Global>
§_marker: PhantomData<Box<(<TYPES as NodeType>::Time, HashMap<<TYPES as NodeType>::SignatureKey, Proposal<TYPES, VidDisperseShare<TYPES>>>)>>