Пример #1
0
 public void NotifyOfNewBlock(Block block, SendBlockPriority priority)
 {
     if (priority == SendBlockPriority.High)
     {
         ReceivedBlocks.Push(block);
     }
 }
Пример #2
0
 public void NotifyOfNewBlock(Block block, SendBlockMode mode)
 {
     if (mode == SendBlockMode.FullBlock)
     {
         ReceivedBlocks.Push(block);
     }
 }
 public void SendNewBlock(Block block)
 {
     ReceivedBlocks.Push(block);
 }