From ea588805c78882ee6b312e821e5ba933f6522725 Mon Sep 17 00:00:00 2001 From: Hiroki Gondo <39823612+nayuta-gondo@users.noreply.github.com> Date: Thu, 11 Jul 2019 16:33:42 +0900 Subject: [PATCH] BOLT 7: move the rational of `short_channel_id` to the definition (#636) --- 07-routing-gossip.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/07-routing-gossip.md b/07-routing-gossip.md index 9736345..769e5a9 100644 --- a/07-routing-gossip.md +++ b/07-routing-gossip.md @@ -50,6 +50,17 @@ For example, a `short_channel_id` might be written as `539268x845x1`, indicating a channel on the output 1 of the transaction at index 845 of the block at height 539268. +### Rationale + +The `short_channel_id` human readable format is designed +so that double-clicking or double-tapping it will select the entire ID +on most systems. +Humans prefer decimal when reading numbers, +so the ID components are written in decimal. +The small letter `x` is used since on most fonts, +the `x` is visibly smaller than decimal digits, +making it easy to visibly group each component of the ID. + ## The `announcement_signatures` Message This is a direct message between the two endpoints of a channel and serves as an opt-in mechanism to allow the announcement of the channel to the rest of the network. @@ -100,15 +111,6 @@ that an earlier version of the spec did not require waiting for receipt of funding locked: deferring rather than ignoring it allows compatibility with this behavior. -The `short_channel_id` human readable format is designed -so that double-clicking or double-tapping it will select the entire ID -on most systems. -Humans prefer decimal when reading numbers, -so the ID components are written in decimal. -The small letter `x` is used since on most fonts, -the `x` is visibly smaller than decimal digits, -making it easy to visibly group each component of the ID. - ## The `channel_announcement` Message This gossip message contains ownership information regarding a channel. It ties