Skip to main content

InitializerAnchor

Type Alias InitializerAnchor 

Source
pub type InitializerAnchor<TYPES> = (Leaf2<TYPES>, Option<Arc<<TYPES as NodeType>::ValidatedState>>, Option<Arc<<<TYPES as NodeType>::ValidatedState as ValidatedState<TYPES>>::Delta>>);
Expand description

The anchor leaf with its validated state and optional state delta, as supplied to HotShotInitializer::load. The state and delta may be omitted, in which case a sparse state is constructed from the leaf’s header.