pub(crate) fn new(validator_len: usize, instance_id: C::InstanceId) -> Self {
        Synchronizer {
            vertices_awaiting_deps: BTreeMap::new(),
            vertices_to_be_added_later: BTreeMap::new(),
            vertices_no_deps: Default::default(),
            oldest_seen_panorama: iter::repeat(None).take(validator_len).collect(),
            instance_id,
            requests_sent: BTreeMap::new(),
            current_era: true,
        }
    }
/// Creates a new synchronizer with the specified timeout for pending vertices.
Creates a new synchronizer with the specified timeout for pending vertices.
Creates a new synchronizer with the specified timeout for pending vertices .
pub(crate) fn new(validator_len: usize, instance_id: C::InstanceId) -> Self {
        Synchronizer {
            vertices_awaiting_deps: BTreeMap::new(),
            vertices_to_be_added_later: BTreeMap::new(),
            vertices_no_deps: Default::default(),
            oldest_seen_panorama: iter::repeat(None).take(validator_len).collect(),
            instance_id,
            requests_sent: BTreeMap::new(),
            current_era: true,
        }
    }
pub ( crate ) fn new ( validator_len : usize , instance_id : C :: InstanceId ) -> Self { Synchronizer { vertices_awaiting_deps : BTreeMap :: new ( ) , vertices_to_be_added_later : BTreeMap :: new ( ) , vertices_no_deps : Default :: default ( ) , oldest_seen_panorama : iter :: repeat ( None ) . take ( validator_len ) . collect ( ) , instance_id , requests_sent : BTreeMap :: new ( ) , current_era : true , } }
Creates a new synchronizer with the specified timeout for pending vertices.
Creates a new synchronizer with the specified timeout for pending vertices .
validator_len
usize
instance_id
C::InstanceId
validator_len
usize
instance_id
C::InstanceId