pub fn ban(&self, address: &Address, shard: usize) {
        error!("Banning {:?}", address);
        let now = chrono::offset::Utc::now().naive_utc();
        let mut guard = self.banlist.write();
        guard[shard].insert(address.clone(), now);
    }
/// Ban an address (i.e. replica). It no longer will serve
/// traffic for any new transactions. Existing transactions on that replica
/// will finish successfully or error out to the clients.
Ban an address . It no longer will serve
traffic for any new transactions. Existing transactions on that replica
will finish successfully or error out to the clients.
Ban an address . It no longer will serve traffic for any new transactions . Existing transactions on that replica will finish successfully or error out to the clients .
pub fn ban(&self, address: &Address, shard: usize) {
        error!("Banning {:?}", address);
        let now = chrono::offset::Utc::now().naive_utc();
        let mut guard = self.banlist.write();
        guard[shard].insert(address.clone(), now);
    }
pub fn ban ( & self , address : & Address , shard : usize ) { error ! ( " " address ) ; let now = chrono :: offset :: Utc :: now ( ) . naive_utc ( ) ; let mut guard = self . banlist . write ( ) ; guard [ shard ] . insert ( address . clone ( ) , now ) ; }
Ban an address (i.e.
Ban an address ( i . e .
&self
address
&Address
shard
usize
&self
address
&Address
shard
usize