kazcw
5029698186
prevent peer flooding request queue for an inv
...
mapAlreadyAskedFor does not keep track of which peer has a request queued for a
particular tx. As a result, a peer can blind a node to a tx indefinitely by
sending many invs for the same tx, and then never replying to getdatas for it.
Each inv received will be placed 2 minutes farther back in mapAlreadyAskedFor,
so a short message containing 10 invs would render that tx unavailable for 20
minutes.
This is fixed by disallowing a peer from having more than one entry for a
particular inv in mapAlreadyAskedFor at a time.
2015-11-23 01:18:54 +00:00
..
2015-10-27 17:44:13 +01:00
2015-11-12 14:37:10 +01:00
2015-11-04 23:46:47 +01:00
2015-11-03 17:14:09 +00:00
2015-11-09 21:00:16 +01:00
2015-11-20 14:34:11 +01:00
2015-11-15 16:06:57 +01:00
2015-11-13 00:12:43 +01:00
2015-11-20 18:52:44 -08:00
2015-10-09 11:37:00 +02:00
2015-11-21 01:48:25 +00:00
2015-11-10 15:32:03 +01:00
2015-11-05 23:28:02 +01:00
2015-09-24 15:20:48 -04:00
2015-09-24 15:20:48 -04:00
2015-10-13 01:04:39 -07:00
2015-10-27 17:39:42 +01:00
2015-11-15 16:06:57 +01:00
2015-10-27 17:39:42 +01:00
2015-11-02 20:11:55 -05:00
2015-10-20 17:06:28 +02:00
2015-10-20 14:28:43 +02:00
2015-10-20 14:28:43 +02:00
2015-11-02 21:27:15 -05:00
2015-11-02 21:27:15 -05:00
2015-10-22 17:57:48 +00:00
2015-09-22 18:51:07 +02:00
2015-10-01 10:49:57 +02:00
2015-10-01 10:49:57 +02:00
2015-10-22 21:33:06 -04:00
2015-10-27 17:39:42 +01:00
2015-11-13 00:12:43 +01:00
2015-09-03 10:59:19 +02:00
2015-09-03 10:59:18 +02:00
2015-11-16 09:21:54 +00:00
2015-11-13 11:10:48 +01:00
2015-11-16 17:00:11 -08:00
2015-09-03 10:59:18 +02:00
2015-11-13 00:12:53 +01:00
2015-11-23 01:18:54 +00:00
2015-11-16 17:00:11 -08:00
2015-11-15 16:06:57 +01:00
2015-11-09 22:50:31 -05:00
2015-11-09 22:50:31 -05:00
2015-11-09 22:50:31 -05:00
2015-11-09 22:50:31 -05:00
2015-10-27 17:44:13 +01:00
2015-11-11 13:21:17 +01:00
2015-11-11 13:21:17 +01:00
2015-11-23 01:18:54 +00:00
2015-11-23 01:18:54 +00:00
2015-11-10 17:29:56 +01:00
2015-11-10 17:29:56 +01:00
2015-10-19 14:25:21 -04:00
2015-09-05 23:29:13 -07:00
2015-11-15 16:06:57 +01:00
2015-11-15 16:06:57 +01:00
2015-10-30 14:07:30 +01:00
2015-09-03 15:13:40 -04:00
2015-11-13 16:57:10 -05:00
2015-10-23 12:47:19 +02:00
2015-10-01 10:49:57 +02:00
2015-11-11 13:21:17 +01:00
2015-11-09 08:44:19 +01:00
2015-11-20 16:07:12 -08:00
2015-09-03 10:59:18 +02:00
2015-10-01 10:49:57 +02:00
2015-11-13 17:19:33 -05:00
2015-10-28 22:25:32 -04:00
2015-10-01 10:49:57 +02:00
2015-09-03 15:13:40 -04:00
2015-10-06 07:46:10 -07:00
2015-09-27 16:40:16 +02:00
2015-11-12 17:58:15 +01:00
2015-11-12 17:58:15 +01:00
2015-10-28 01:05:32 +01:00
2015-10-22 21:33:06 -04:00
2015-10-28 02:25:06 +01:00
2015-10-28 03:07:59 +01:00
2015-09-16 16:50:19 +02:00
2015-10-26 15:05:37 -04:00
2015-11-13 00:12:43 +01:00
2015-09-23 12:06:00 +02:00
2015-09-16 15:23:29 +02:00
2015-10-26 15:05:37 -04:00
2015-10-26 15:05:37 -04:00
2015-09-16 11:01:35 +01:00
2015-09-16 16:51:21 +02:00
2015-09-05 23:29:13 -07:00