an implementation of bad node that denies every blocks generated by pure nodes.
// List of bad friends.
private HashSet<string> badNodeAddrs = new HashSet<string>();
protected override void OnNewBlock(Peer sender, PktBroadcastNewBlock pkt)
{
// Check the block is mined by alias
if (badNodeAddrs.Contains(pkt.block.minerAddr) == false) return;
base.OnNewBlock(sender, pkt);
}