From b4c18a10cfe6863c441265ce4de5f5ef0a26b450 Mon Sep 17 00:00:00 2001 From: darosior Date: Wed, 11 Dec 2019 11:32:55 +0100 Subject: [PATCH] doc/lightningd-config: precise alias are 32 __bytes__ long. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And not 32 characters long, as a character (for example 🐨) can be 4 bytes long. Reported-By: Vasil Dimov <@vasild> --- doc/lightningd-config.5 | 2 +- doc/lightningd-config.5.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/lightningd-config.5 b/doc/lightningd-config.5 index f8329bd55..c011e722f 100644 --- a/doc/lightningd-config.5 +++ b/doc/lightningd-config.5 @@ -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\. diff --git a/doc/lightningd-config.5.md b/doc/lightningd-config.5.md index 9817ef398..d72faef6b 100644 --- a/doc/lightningd-config.5.md +++ b/doc/lightningd-config.5.md @@ -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.