public InitialSeedingMode(TorrentManager manager)
     : base(manager)
 {
     unchoker = new InitialSeedUnchoker(manager);
     manager.chokeUnchoker = unchoker;
     zero = new BitField(manager.Bitfield.Length);
 }
Exemple #2
0
 public InitialSeedUnchokerTests()
 {
     rig.Manager.UploadingTo          = 0;
     rig.Manager.Settings.UploadSlots = 4;
     peer     = rig.CreatePeer(true);
     unchoker = new InitialSeedUnchoker(rig.Manager);
     unchoker.PeerConnected(peer);
 }