fanquake
03a536f1ed
Merge bitcoin/bitcoin#28284 : refactor: Remove confusing static_cast in address types
...
fadf671fa5
Refactor: Remove confusing static_cast (MarcoFalke)
faeea1ab58
refactor: Add missing includes (MarcoFalke)
Pull request description:
It seems confusing to use `static_cast<uint160>(bla)` to call the constructor of `uint160`. The normal and common way to call a constructor is by simply calling it. (`uint160{bla}`).
Do this, and also drop the constructor completely where the existing `const&` reference is enough.
Also, add missing includes while touching the file.
ACKs for top commit:
vincenzopalazzo:
ACK fadf671fa5
TheCharlatan:
ACK fadf671fa5
Tree-SHA512: 8fb9a72203a6461b1f4b38bb90943ca25a92b218fc87da2022b90802e7747350e3668a13db3189201ad30e2e39a51d6658fed4aad176fd52cecc1c7f972c3134
2023-08-22 14:46:10 +01:00
..
2023-08-17 15:26:34 -04:00
2023-08-14 17:39:49 -04:00
2023-08-08 17:50:41 +02:00
2023-08-17 15:37:41 -04:00
2023-08-17 18:28:15 +02:00
2023-06-15 10:27:56 -06:00
2023-08-14 17:38:27 -04:00
2023-08-17 16:26:20 +02:00
2023-08-22 10:34:10 +01:00
2023-08-22 09:17:12 +01:00
2023-08-14 17:39:49 -04:00
2023-08-18 12:52:30 -04:00
2023-08-17 15:55:01 +02:00
2023-07-18 15:25:05 +01:00
2023-07-24 22:33:40 -07:00
2023-08-22 10:34:10 +01:00
2023-07-27 14:24:52 +02:00
2023-08-14 17:38:27 -04:00
2023-08-22 10:34:10 +01:00
2023-06-29 11:59:31 +01:00
2023-08-16 14:48:06 +02:00
2023-06-29 16:14:07 -06:00
2023-08-17 15:55:07 +02:00
2023-08-14 17:38:27 -04:00
2023-08-15 07:30:48 +05:30
2023-08-15 07:30:48 +05:30
2023-08-18 12:52:30 -04:00
2023-07-25 17:40:07 +02:00
2023-06-16 10:38:19 +01:00
2023-08-05 10:42:56 +02:00
2023-08-17 18:28:15 +02:00
2023-08-17 18:28:15 +02:00
2023-07-24 16:23:38 -04:00
2023-06-16 10:38:19 +01:00
2023-08-14 17:38:27 -04:00
2023-07-25 17:40:07 +02:00
2023-07-25 17:40:07 +02:00
2023-08-14 17:39:49 -04:00
2023-08-07 22:31:46 +02:00
2023-08-05 10:45:19 +02:00
2023-07-12 10:01:51 +02:00
2023-06-28 12:20:25 +01:00
2023-08-17 12:54:16 +01:00
2023-07-10 10:47:17 -03:00
2023-08-14 17:39:49 -04:00
2023-08-14 17:38:27 -04:00
2023-06-23 14:22:33 -04:00
2023-06-23 14:22:33 -04:00
2023-06-15 10:27:56 -06:00
2023-06-15 10:27:56 -06:00
2023-08-17 16:26:20 +02:00
2023-08-10 11:58:59 +02:00
2023-07-19 10:26:11 +01:00
2023-08-10 11:58:59 +02:00
2023-06-16 10:38:19 +01:00
2023-08-18 12:52:30 -04:00
2023-07-25 21:51:20 +01:00
2023-08-17 13:15:42 +01:00
2023-08-17 13:15:42 +01:00
2023-07-17 13:27:46 +02:00
2023-06-28 16:35:45 -05:00
2023-08-14 17:38:27 -04:00
2023-08-14 17:38:27 -04:00
2023-07-11 19:26:52 +02:00
2023-08-14 17:38:27 -04:00
2023-06-23 14:22:33 -04:00
2023-07-26 17:09:23 -04:00
2023-08-17 15:31:27 -04:00
2023-08-17 15:26:34 -04:00
2023-06-16 10:38:19 +01:00
2023-08-03 10:35:22 +02:00
2023-06-28 09:52:33 +02:00
2023-06-28 09:52:33 +02:00
2023-08-14 17:38:27 -04:00
2023-07-24 15:32:35 +02:00
2023-07-19 18:12:42 +02:00
2023-07-19 18:12:42 +02:00
2023-08-08 16:04:22 +02:00
2023-08-08 16:03:40 +02:00
2023-06-28 09:52:27 +02:00
2023-06-28 09:52:27 +02:00
2023-08-17 16:26:20 +02:00
2023-08-17 16:26:20 +02:00
2023-06-20 10:23:08 +02:00
2023-06-20 10:23:08 +02:00
2023-07-17 13:27:46 +02:00
2023-06-28 15:12:12 -04:00
2023-08-18 12:52:30 -04:00
2023-08-18 12:52:30 -04:00