public void NotifyOfNewBlock(Block block, SendBlockPriority priority) { if (priority == SendBlockPriority.High) { ReceivedBlocks.Push(block); } }
public void NotifyOfNewBlock(Block block, SendBlockMode mode) { if (mode == SendBlockMode.FullBlock) { ReceivedBlocks.Push(block); } }
public void SendNewBlock(Block block) { ReceivedBlocks.Push(block); }