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:
parent
6be5857021
commit
828eda61df
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue