MarcoFalke
5126e625cb
Merge bitcoin/bitcoin#26378 : refactor: Pass reference to last header, not pointer
...
fa579f3063 refactor: Pass reference to last header, not pointer (MacroFake)
Pull request description:
It is never a nullptr, otherwise an assertion would fire in UpdatePeerStateForReceivedHeaders.
Passing a reference makes the code easier to read and less brittle.
ACKs for top commit:
john-moffett:
ACK fa579f3
aureleoules:
ACK fa579f3063
Tree-SHA512: 9725195663a31df57ae46bb7b11211cc4963a8f3d100f60332bfd4a3f3327a73ac978b3172e3007793cfc508dfc7c3a81aab57a275a6963a5ab662ce85743fd0
2022-12-08 17:04:05 +01:00
..
2022-12-06 19:04:31 +01:00
2022-11-29 08:12:24 -04:00
2022-07-20 16:26:19 +02:00
2022-09-23 10:48:47 +01:00
2022-08-13 13:55:38 +01:00
2022-10-26 15:55:29 +03:00
2022-12-05 17:46:54 -05:00
2022-08-20 11:55:17 +02:00
2022-11-29 08:12:24 -04:00
2022-09-23 10:48:47 +01:00
2022-11-30 10:37:57 +00:00
2022-09-29 16:43:30 +01:00
2022-10-23 15:03:04 +01:00
2022-12-07 14:54:23 +00:00
2022-11-30 10:37:57 +00:00
2022-08-31 15:10:26 +02:00
2022-12-06 18:58:08 +00:00
2022-12-06 15:07:04 -05:00
2022-10-28 20:03:22 -04:00
2022-06-11 14:55:18 +01:00
2022-09-23 10:48:47 +01:00
2022-12-06 19:04:31 +01:00
2022-11-14 10:17:54 +01:00
2022-12-06 11:14:47 +01:00
2022-12-07 18:42:41 -05:00
2022-12-06 15:07:04 -05:00
2022-08-31 08:38:24 +01:00
2022-07-30 10:23:58 +02:00
2022-07-30 11:04:09 +02:00
2022-07-30 11:04:09 +02:00
2022-07-30 11:04:09 +02:00
2022-07-30 10:23:58 +02:00
2022-05-20 15:17:00 +02:00
2022-05-21 13:54:33 -05:00
2022-10-04 21:49:07 +01:00
2022-09-09 11:47:27 -04:00
2022-11-15 09:41:23 -05:00
2022-09-21 16:53:11 +01:00
2022-07-20 10:34:46 +01:00
2022-10-31 10:17:04 +00:00
2022-10-31 10:17:04 +00:00
2022-05-17 10:37:10 +01:00
2022-05-17 10:37:10 +01:00
2022-08-24 10:15:32 +02:00
2022-08-31 16:51:32 +01:00
2022-08-31 15:10:26 +02:00
2022-08-23 16:05:00 -04:00
2022-08-31 15:31:34 +03:00
2022-09-09 10:07:39 +02:00
2022-10-18 14:12:42 +02:00
2022-08-19 17:11:06 +02:00
2022-06-21 16:19:10 +02:00
2022-05-21 13:54:33 -05:00
2022-07-27 13:27:57 +02:00
2022-08-03 12:03:28 -04:00
2022-09-13 12:38:06 -04:00
2022-09-13 12:38:06 -04:00
2022-05-10 12:09:33 +10:00
2022-05-10 12:09:33 +10:00
2022-10-26 11:10:23 +08:00
2022-09-14 11:55:10 +01:00
2022-08-19 08:58:56 +01:00
2022-08-30 13:52:45 +02:00
2022-07-20 15:34:36 +02:00
2022-08-30 12:09:04 -04:00
2022-08-29 08:10:35 -04:00
2022-05-18 19:15:03 +02:00
2022-09-30 16:29:22 +02:00
2022-11-01 10:14:49 +00:00
2022-11-01 10:14:49 +00:00
2022-12-05 15:51:46 +00:00
2022-06-02 11:42:12 -04:00
2022-08-04 11:32:26 +02:00
2022-08-04 11:32:25 +02:00
2022-10-25 15:57:38 +02:00
2022-10-25 15:57:38 +02:00
2022-12-07 14:54:23 +00:00
2022-11-15 19:23:39 -05:00
2022-06-23 15:33:01 +02:00
2022-09-13 17:15:17 +01:00
2022-09-13 17:15:17 +01:00
2022-11-17 14:52:45 +00:00
2022-11-21 17:30:00 -03:00
2022-11-21 17:30:00 -03:00
2022-11-01 10:14:49 +00:00
2022-09-23 10:48:47 +01:00
2022-11-07 15:20:20 +01:00
2022-12-08 17:04:05 +01:00
2022-09-15 14:44:38 +10:00
2022-05-18 19:15:03 +02:00
2022-11-01 10:14:49 +00:00
2022-11-22 09:52:53 +00:00
2022-11-17 14:52:45 +00:00
2022-11-17 14:52:45 +00:00
2022-10-12 15:49:02 -04:00
2022-07-20 16:26:24 +02:00
2022-06-14 10:38:51 +02:00
2022-08-16 20:00:19 -04:00
2022-08-18 16:47:15 -03:00
2022-08-23 11:34:10 -04:00
2022-08-23 11:34:10 -04:00
2022-09-23 10:48:47 +01:00
2022-10-17 12:35:43 +03:00
2022-11-10 09:21:57 +02:00
2022-10-17 11:13:02 -04:00
2022-12-05 15:51:46 +00:00
2022-08-10 14:25:43 -04:00
2022-08-04 11:32:25 +02:00
2022-09-23 10:48:47 +01:00
2022-07-13 15:21:12 +02:00
2022-07-20 10:34:46 +01:00
2022-12-06 15:07:04 -05:00
2022-05-17 17:18:58 +01:00
2022-05-12 02:25:55 +10:00
2022-07-26 11:05:04 +02:00
2022-06-14 10:38:51 +02:00
2022-10-24 13:02:37 -06:00
2022-10-11 09:18:55 +08:00
2022-08-05 14:59:15 +02:00
2022-08-05 14:59:15 +02:00
2022-07-20 10:34:46 +01:00
2022-07-22 12:45:07 +02:00
2022-09-13 12:38:06 -04:00
2022-11-18 17:04:49 -08:00
2022-11-30 10:37:57 +00:00
2022-10-11 23:35:37 +10:00
2022-10-11 23:35:37 +10:00
2022-09-15 16:48:50 -04:00
2022-12-08 15:35:28 +00:00
2022-12-08 15:35:28 +00:00
2022-11-04 09:38:39 -04:00
2022-05-12 02:25:55 +10:00
2022-05-21 01:23:23 +10:00