doc/lightningd-config: precise alias are 32 __bytes__ long.

And not 32 characters long, as a character (for example 🐨) can be 4
bytes long.

Reported-By: Vasil Dimov <@vasild>
This commit is contained in:
darosior
2019-12-11 11:32:55 +01:00
committed by Christian Decker
parent 2986854c88
commit b4c18a10cf
2 changed files with 2 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ Note that once you encrypt the \fBhsm_secret\fR this option will be mandatory fo
.SH Lightning node customization options
\fBalias\fR=\fINAME\fR
Up to 32 UTF-8 characters to tag your node\. Completely silly, since
Up to 32 bytes of UTF-8 characters to tag your node\. Completely silly, since
anyone can call their node anything they want\. The default is an
NSA-style codename derived from your public key, but "Peter Todd" and
"VAULTERO" are good options, too\.

View File

@@ -173,7 +173,7 @@ Note that once you encrypt the `hsm_secret` this option will be mandatory for
### Lightning node customization options
**alias**=*NAME*
Up to 32 UTF-8 characters to tag your node. Completely silly, since
Up to 32 bytes of UTF-8 characters to tag your node. Completely silly, since
anyone can call their node anything they want. The default is an
NSA-style codename derived from your public key, but "Peter Todd" and
"VAULTERO" are good options, too.