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-09-23 10:48:47 +01:00
2022-10-26 15:55:29 +03:00
2022-12-05 17:46:54 -05: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-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-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-10-31 10:17:04 +00:00
2022-10-31 10:17:04 +00:00
2022-08-31 16:51:32 +01:00
2022-08-31 15:10:26 +02: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-09-13 12:38:06 -04:00
2022-09-13 12:38:06 -04:00
2022-10-26 11:10:23 +08:00
2022-09-14 11:55:10 +01:00
2022-08-30 13:52:45 +02:00
2022-08-30 12:09:04 -04:00
2022-08-29 08:10:35 -04: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-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-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-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-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-09-23 10:48:47 +01:00
2022-12-06 15:07:04 -05:00
2022-10-24 13:02:37 -06:00
2022-10-11 09:18:55 +08: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