Exemplo n.º 1
0
 public static bool RequiresHigherDifficulty(this PeerSelectionOptions options)
 {
     return((options & PeerSelectionOptions.HigherTotalDiff) == PeerSelectionOptions.HigherTotalDiff);
 }
Exemplo n.º 2
0
 public static bool ShouldNotBeReplaced(this PeerSelectionOptions options)
 {
     return((options & PeerSelectionOptions.DoNotReplace) == PeerSelectionOptions.DoNotReplace);
 }
Exemplo n.º 3
0
 public static bool IsLowPriority(this PeerSelectionOptions options)
 {
     return((options & PeerSelectionOptions.LowPriority) == PeerSelectionOptions.LowPriority);
 }