mintcoinproject/mintcoin — pull request #13 by keremhd (2014-04-10 19:08:21+00:00)
Title: Remove misbehaving peer's reported block count from peer block counts wh...

...en disconnecting them

1.7/1.8 client already rejects blocks that are on wrong chain (>220k) and bans/disconnects sending client.

This patch removes the block height which the banned node had reported (removes from median filter), so the UI recovers as soon as invalid block is detected and client is banned (instead of requiring new client connections to override old records in median filter)