[][src]Function grin_core::global::difficulty_data_to_vector

pub fn difficulty_data_to_vector<T>(cursor: T) -> Vec<HeaderInfo> where
    T: IntoIterator<Item = HeaderInfo>, 

Converts an iterator of block difficulty data to more a more manageable vector and pads if needed (which will) only be needed for the first few blocks after genesis