1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-03-10 17:18:44 +01:00

BOLT01: Further specifying what it means to be printable

ASCII character set seems apropriate, since it acts a lowest common
denominator, and who'd stuff emojis in an error message anyway?

Fixes #68
This commit is contained in:
Christian Decker 2016-12-22 14:30:00 +01:00 committed by Rusty Russell
parent 6be5857021
commit 828eda61df

View file

@ -131,8 +131,8 @@ A node receiving `error` MUST fail the channel referred to by
all channels and MUST close the connection. A receiving node MUST truncate all channels and MUST close the connection. A receiving node MUST truncate
`len` to the remainder of the packet if it is larger. `len` to the remainder of the packet if it is larger.
A receiving node SHOULD only print out `data` verbatim if it is a A receiving node SHOULD only print out `data` verbatim if the string is composed solely of printable ASCII characters.
valid string. For referece, the printable character set includes byte values 32 through 127 inclusive.
#### Rationale #### Rationale