pub trait ProtocolStateHeader {
    fn get_height(&self) -> Length;
    fn min_window_density(&self) -> Length;
    fn sub_window_densities(&self) -> &Vec<Length>;
    fn consensus_state(&self) -> &ConsensusState;
    fn constants(&self) -> &ProtocolConstants;
    fn state_hash_fp(&self) -> Fp;
}
Expand description

Implementing types have some notion of height and can return it

Required Methods

Get the height for the implementing type

The minimum window density at the current epoch.

A list of density values of the sub windows.

Consensus state

Constants

State hash fp

Implementors