Ava Chow
012e540ace
Merge bitcoin/bitcoin#29122 : test: adds outbound eviction functional tests, updates comment in ConsiderEviction
...
d53d84834747c37f4060a9ef379e0a6b50155246 test: adds outbound eviction tests for non outbound-full-relay peers (Sergi Delgado Segura)
a8d9a0edc7cef2c31a557ef53eb45520976b0d65 test: adds outbound eviction functional tests, updates comment in ConsiderEviction (Sergi Delgado Segura)
Pull request description:
## Motivation
While checking the outbound eviction code I realized a case was not considered within the comments, which in turn made me realize we had no functional tests for the outbound eviction case (when I went to check/add the test case).
This PR updates the aforementioned comment and adds functional tests to cover the outbound eviction logic, in addition to the existing unit tests found at `src/test/denialofservice_tests.cpp`.
ACKs for top commit:
davidgumberg:
reACK d53d848347
tdb3:
Re ACK for d53d84834747c37f4060a9ef379e0a6b50155246
achow101:
ACK d53d84834747c37f4060a9ef379e0a6b50155246
cbergqvist:
ACK d53d84834747c37f4060a9ef379e0a6b50155246
Tree-SHA512: 633b84bb1229fe21e2f650c1beada33ca7f190b64eafd64df2266516d21175e5d652e019ff7114f00cb8bd19f5817dc19e65adf75767a88e24dc0842ce40c63e
2024-05-09 16:20:43 -04:00
..
2024-05-07 14:14:03 -04:00
2024-05-01 08:33:04 +02:00
2024-03-01 13:13:07 -05:00
2023-11-16 11:36:22 +10:00
2024-02-27 18:28:19 +00:00
2024-05-01 08:33:04 +02:00
2024-04-17 17:24:05 -03:00
2024-05-01 08:33:04 +02:00
2024-04-16 17:47:43 +02:00
2023-11-28 12:35:50 -05:00
2024-04-08 17:36:12 +02:00
2024-04-12 14:27:45 +02:00
2024-05-07 14:14:03 -04:00
2024-05-03 12:36:56 -04:00
2024-02-27 14:19:15 +00:00
2024-05-07 21:31:14 +01:00
2024-05-08 18:39:56 -04:00
2024-05-03 11:38:14 -04:00
2024-04-04 12:05:16 +01:00
2024-02-13 20:10:44 +00:00
2024-05-07 14:14:03 -04:00
2024-04-16 16:35:12 +02:00
2024-05-07 14:14:03 -04:00
2024-05-08 17:52:58 -04:00
2024-04-16 14:14:37 -04:00
2023-10-12 11:27:19 +02:00
2023-12-15 15:20:54 +01:00
2024-04-07 14:04:45 +01:00
2024-05-01 08:33:04 +02:00
2023-09-05 10:13:25 +02:00
2023-09-12 12:14:31 -04:00
2023-10-25 22:46:55 +02:00
2024-04-10 17:01:27 +02:00
2024-05-01 08:33:04 +02:00
2024-01-15 16:19:53 -05:00
2023-11-21 17:37:25 +01:00
2023-11-21 17:37:25 +01:00
2023-05-04 20:57:51 +01:00
2023-11-02 14:09:27 -04:00
2023-11-02 14:09:27 -04:00
2023-09-10 16:11:52 -04:00
2023-09-10 16:11:52 -04:00
2024-03-21 16:40:22 +01:00
2024-05-01 08:33:04 +02:00
2024-05-01 08:33:04 +02:00
2024-05-01 08:33:04 +02:00
2024-05-01 08:33:04 +02:00
2024-05-01 08:33:04 +02:00
2024-04-06 19:17:20 +01:00
2024-04-06 19:17:20 +01:00
2023-11-28 12:42:07 +01:00
2023-08-17 18:28:15 +02:00
2024-03-18 11:28:40 -05:00
2023-05-25 19:24:05 +02:00
2023-05-25 19:24:05 +02:00
2023-05-10 10:39:58 +02:00
2023-05-10 10:39:58 +02:00
2024-03-04 19:53:30 -05:00
2023-10-03 10:52:17 +01:00
2024-05-01 08:33:04 +02:00
2024-05-01 08:33:04 +02:00
2023-11-21 13:15:44 +00:00
2023-11-24 14:41:58 +00:00
2023-08-14 17:38:27 -04:00
2023-12-11 18:22:13 +01:00
2024-04-15 10:01:15 +02:00
2023-12-11 18:22:13 +01:00
2024-03-26 16:51:46 +00:00
2023-09-12 12:07:39 +02:00
2023-09-12 12:07:39 +02:00
2023-03-15 16:42:42 +01:00
2023-03-15 16:42:42 +01:00
2023-04-19 10:48:30 +02:00
2024-03-27 14:16:37 +00:00
2023-05-20 12:08:13 +02:00
2024-03-11 13:49:37 +01:00
2023-04-03 14:41:22 +01:00
2024-01-05 17:12:38 +01:00
2023-11-16 11:36:22 +10:00
2024-02-01 13:52:05 +01:00
2023-09-19 15:54:17 -06:00
2024-05-01 08:33:04 +02:00
2023-12-04 15:39:15 -04:00
2024-03-13 06:53:07 -04:00
2024-03-01 14:47:29 -05:00
2024-05-07 14:14:03 -04:00
2023-12-04 15:39:15 -04:00
2024-01-16 15:29:18 +01:00
2023-08-14 17:38:27 -04:00
2024-01-16 15:29:18 +01:00
2024-02-20 11:20:58 -05:00
2024-02-11 15:25:07 +01:00
2024-04-02 10:47:05 -04:00
2024-04-30 18:49:34 -04:00
2024-03-12 09:30:42 -03:00
2024-04-12 14:28:34 +02:00
2024-03-04 10:02:26 +00:00
2023-10-19 13:25:49 +01:00
2023-11-20 15:57:50 -03:00
2023-07-19 10:26:11 +01:00
2024-04-30 18:49:34 -04:00
2024-05-01 08:33:04 +02:00
2023-09-13 11:37:45 +01:00
2024-04-07 14:04:45 +01:00
2023-11-28 17:49:41 +01:00
2024-02-28 10:05:56 -03:00
2024-02-28 10:05:56 -03:00
2024-05-09 16:20:43 -04:00
2024-04-10 17:01:27 +02:00
2023-05-30 16:27:21 -03:00
2024-05-07 14:14:03 -04:00
2024-05-07 10:28:58 +08:00
2024-03-01 13:13:07 -05:00
2024-03-01 13:13:07 -05:00
2024-05-01 08:33:04 +02:00
2024-03-01 14:47:28 -05:00
2023-12-06 11:22:42 -05:00
2023-12-02 22:03:08 +01:00
2023-11-20 14:02:27 +01:00
2024-03-21 16:41:16 +01:00
2024-05-02 13:16:40 -06:00
2023-08-14 17:38:27 -04:00
2024-01-18 19:29:34 +01:00
2024-01-23 10:25:16 -03:00
2024-01-23 10:25:16 -03:00
2023-11-30 11:28:19 +01:00
2023-11-28 12:42:07 +01:00
2023-10-08 02:43:19 +02:00
2024-01-16 10:58:57 +01:00
2024-05-01 08:33:04 +02:00
2024-02-26 16:13:12 +00:00
2024-05-01 08:33:04 +02:00
2024-05-01 08:33:04 +02:00
2024-02-15 14:43:14 +01:00
2024-02-16 17:12:52 +01:00
2024-03-01 11:19:58 -05:00
2023-11-28 12:42:07 +01:00
2023-12-22 09:58:19 +01:00
2023-07-19 18:12:42 +02:00
2023-11-30 11:27:54 +01:00
2024-02-13 20:10:44 +00:00
2023-10-26 15:02:13 -04:00
2024-01-10 14:11:32 -05:00
2023-08-17 23:58:47 -05:00
2023-09-05 11:37:35 +01:00
2023-08-01 15:27:33 +02:00
2024-04-22 09:36:36 -04:00
2024-04-22 09:36:36 -04:00
2024-05-02 11:24:36 +01:00
2024-04-26 10:28:27 +01:00
2023-12-07 11:06:01 +01:00
2023-06-28 15:12:12 -04:00
2023-11-16 11:36:22 +10:00
2024-05-01 08:33:04 +02:00
2024-05-01 13:34:37 +01:00
2024-02-16 17:12:52 +01:00
2024-02-16 17:12:52 +01:00
2024-05-07 14:14:03 -04:00
2024-05-01 14:44:57 +01:00