Files
bitcoin/src/util
l0rinc 5b74a849cf util: Add consteval ""_hex[_v][_u8] literals
""_hex is a compile-time user-defined literal returning std::array<std::byte>, equivalent of ParseHex.

Variants:
- ""_hex_v returns std::vector<std::byte>
- ""_hex_u8 returns std::array<uint8_t>
- ""_hex_v_u8 returns std::vector<uint8_t> - Directly serializable as a size-prefixed OP_PUSH CScript payload using operator<<.

Also extracts from_hex into shared util::ConstevalHexDigit function.

Co-Authored-By: hodlinator <172445034+hodlinator@users.noreply.github.com>
Co-Authored-By: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
Co-Authored-By: Ryan Ofsky <ryan@ofsky.org>
Co-Authored-By: stickies-v <stickies-v@protonmail.com>
2024-08-28 19:09:51 +02:00
..
2023-03-23 12:55:18 +01:00
2024-06-10 07:54:48 -04:00
2024-08-06 01:38:10 +02:00
2024-08-06 01:38:10 +02:00
2023-11-24 13:11:36 +01:00
2023-12-11 17:42:05 +01:00
2021-05-11 10:38:18 +02:00
2022-12-24 23:49:50 +00:00
2024-01-05 11:22:31 +01:00
2021-12-30 19:36:57 +02:00
2022-12-24 23:49:50 +00:00
2024-03-18 16:01:08 +01:00
2021-03-04 18:24:00 +01:00
2024-01-05 11:22:31 +01:00
2024-06-11 16:28:11 +00:00