internal bool ShouldBanPeer(Peer peer) { if (BanPeer == null) { return(false); } AttemptConnectionEventArgs e = new AttemptConnectionEventArgs(peer); BanPeer(this, e); return(e.BanPeer); }
internal bool ShouldBanPeer(Peer peer) { if (BanPeer == null) return false; AttemptConnectionEventArgs e = new AttemptConnectionEventArgs(peer); BanPeer(this, e); return e.BanPeer; }