/// Creates a new adversary with the necessary network info instances
Creates a new adversary with the necessary network info instances
Creates a new adversary with the necessary network info instances
pub fn new(netinfo_mutex: Arc<Mutex<NetworkInfoMap>>) -> Self {
        FaultyShareAdversary {
            share_triggers: BTreeMap::new(),
            netinfo_mutex,
        }
    }
pub fn new ( netinfo_mutex : Arc < Mutex < NetworkInfoMap > > ) -> Self { FaultyShareAdversary { share_triggers : BTreeMap :: new ( ) , netinfo_mutex , } }
Creates a new adversary with the necessary network info instances
Creates a new adversary with the necessary network info instances
netinfo_mutex
Arc<Mutex<NetworkInfoMap>>