Files
bitcoin/src
Bruno Garcia cc577de954 net: align v2 message type validation with v1 range
BIP324 specifies the 13-byte long-form message type encoding as
"an ASCII message type (as in the v1 P2P protocol)", but
V2Transport::GetMessageType() accepted bytes up to 0x7F, while
for V1 it only accepts printable ASCII (0x20-0x7E).

This changes V2 to match V1 on it and add test coverage.
2026-08-12 10:02:08 -03:00
..
2026-06-26 09:56:01 -07:00
2026-08-03 12:03:56 -07:00
2026-06-04 21:58:56 +10:00
2026-07-22 12:38:13 -07:00
2026-07-23 12:06:32 +02:00
2026-07-23 12:06:32 +02:00
2026-08-03 12:03:56 -07:00
2026-08-10 16:02:20 +03:00
2026-08-05 21:41:49 +02:00