Gregory Maxwell a784f90c98 Cap nAttempts penalty at 8 and switch to pow instead of a division loop.
On hosts that had spent some time with a failed internet connection their
 nAttempts penalty was going through the roof (e.g. thousands for all peers)
 and as a result the connect search was pegging the CPU and failing to get
 more than a 4 connections after days of running (because it was taking so
 long per try).
2015-04-19 11:47:56 -07:00
..
2015-03-06 15:54:53 +01:00
2015-03-06 15:54:53 +01:00
2015-03-16 12:23:14 +01:00
2015-03-27 14:03:36 -07:00
2015-04-10 07:51:27 +02:00
2014-12-16 15:56:50 +08:00
2015-04-15 11:10:23 +02:00
2015-03-23 17:24:29 -07:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2015-01-19 15:37:48 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2015-03-09 16:06:14 +01:00
2015-02-06 16:51:39 +01:00
2015-01-07 13:03:41 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-31 10:50:06 +01:00
2014-12-19 19:55:32 +01:00
2015-03-06 15:54:53 +01:00
2015-04-15 12:06:55 +02:00
2014-12-19 19:55:32 +01:00
2015-03-22 15:18:55 -04:00
2014-12-19 19:55:32 +01:00
2015-04-16 10:33:29 +02:00
2015-04-01 17:20:38 +02:00
2014-12-19 19:55:32 +01:00
2015-04-01 16:17:13 +02:00
2015-03-12 11:14:03 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2015-04-12 19:37:29 +02:00
2015-04-12 19:37:29 +02:00
2014-12-19 19:55:32 +01:00
2015-01-02 17:54:21 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2015-03-30 14:28:09 +02:00
2014-12-19 19:55:32 +01:00