Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 2dc868772839cb3af472d811c784b304e22aab19
https://github.com/btcsuite/btcd/commit/2dc868772839cb3af472d811c784b304e22aab19
Author: Daniel Krawisz <[email protected]>
Date: 2015-07-30 (Thu, 30 Jul 2015)
Changed paths:
M server.go
Log Message:
-----------
Fix incorrect ip connection attempt logic.
The comment says "only allow recent nodes (10mins) after we failed 30 times",
but the server actually did the opposite and allowed only recent nodes before
30 failed connection attempts. This corrects the server's behavior.