Ava Chow
5711da6588
Merge bitcoin/bitcoin#29213 : doc, test: test and explain service flag handling
...
74ebd4d135
doc, test: Test and explain service flag handling (Martin Zumsande)
Pull request description:
Service flags received from the peer-to-peer network are handled differently, depending on how we receive them.
If received directly from an outbound peer the flags belong to, they replace existing flags.
If received via gossip relay (so that anyone could send them), new flags are added, but existing ones but cannot be overwritten.
Document that and add test coverage for it.
ACKs for top commit:
achow101:
ACK 74ebd4d135
furszy:
ACK 74ebd4d135
brunoerg:
utACK 74ebd4d135
Tree-SHA512: 604adc3304b8e3cb1a10dfd017025c10b029bebd3ef533f96bcb5856fee5d4396a9aed4949908b8e7ef267ad21320d1814dd80f88426330c5c9c2c529c497591
2024-01-16 13:35:45 -05:00
..
2024-01-02 11:12:32 -05:00
2023-12-11 17:42:17 +01:00
2023-11-16 11:36:22 +10:00
2023-12-04 15:39:15 -04:00
2024-01-11 11:01:28 -06:00
2024-01-05 10:42:10 +00:00
2024-01-12 13:48:02 +00:00
2024-01-05 10:42:10 +00:00
2024-01-03 11:23:27 +00:00
2023-11-28 08:44:41 -05:00
2023-12-23 13:26:00 +01:00
2024-01-12 12:03:52 +00:00
2023-12-08 06:54:00 -03:00
2024-01-04 14:40:28 +00:00
2023-11-19 18:43:29 +01:00
2024-01-16 13:35:45 -05:00
2024-01-05 11:22:31 +01:00
2024-01-12 20:09:08 -05:00
2023-12-11 18:22:13 +01:00
2023-12-15 15:20:54 +01:00
2023-10-30 14:59:17 +01:00
2023-10-24 18:52:00 +02:00
2023-10-25 22:46:55 +02:00
2023-12-06 11:22:42 -05: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-11-02 14:09:27 -04:00
2023-11-02 14:09:27 -04:00
2023-12-04 15:39:15 -04:00
2024-01-09 15:27:08 -06:00
2023-12-11 13:08:46 -05:00
2023-11-16 11:36:22 +10:00
2023-12-04 15:39:15 -04:00
2023-11-16 11:14:13 +10:00
2023-11-14 08:45:30 +10:00
2023-11-28 12:42:07 +01:00
2023-10-20 16:29:02 +02:00
2023-11-21 13:15:44 +00:00
2023-11-24 14:41:58 +00:00
2023-12-11 18:22:13 +01:00
2023-11-16 11:36:22 +10:00
2023-12-11 18:22:13 +01:00
2023-11-30 11:28:19 +01:00
2023-11-16 11:36:22 +10:00
2024-01-10 14:11:32 -05:00
2023-12-04 15:39:15 -04:00
2024-01-07 16:24:08 -06:00
2024-01-10 14:11:32 -05:00
2023-12-04 15:39:15 -04:00
2023-12-23 13:26:00 +01:00
2023-12-23 13:26:00 +01:00
2023-12-15 11:03:25 +10:00
2023-12-20 15:59:48 +10:00
2024-01-05 15:17:50 +00:00
2024-01-02 11:12:32 -05:00
2023-11-20 15:57:50 -03:00
2024-01-09 15:38:57 +01:00
2023-11-28 17:49:41 +01:00
2023-11-28 17:49:41 +01:00
2023-10-26 14:29:47 -04:00
2024-01-16 13:35:45 -05:00
2023-11-23 13:43:39 +01:00
2024-01-09 12:46:52 -05:00
2023-12-27 16:39:32 -05:00
2023-11-07 14:11:58 -05:00
2023-11-07 14:11:58 -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
2023-11-13 14:17:59 +01:00
2023-11-30 11:28:19 +01:00
2023-11-28 12:42:07 +01:00
2023-11-07 15:00:38 -05:00
2024-01-05 10:42:10 +00:00
2023-12-15 15:21:22 +01:00
2023-11-28 12:42:07 +01:00
2023-12-15 15:20:54 +01:00
2023-11-30 11:27:54 +01:00
2023-10-26 15:02:13 -04:00
2024-01-10 14:11:32 -05:00
2023-12-17 21:13:44 +01:00
2023-12-19 17:12:45 +01:00
2023-12-08 13:14:46 +00:00
2023-12-08 13:14:46 +00:00
2023-12-07 11:06:01 +01:00
2023-11-16 11:36:22 +10:00
2023-12-17 21:13:44 +01:00
2023-11-30 14:28:46 -05:00
2023-11-22 11:48:21 +01:00
2024-01-02 12:40:11 +01:00