mirror of
https://github.com/lightning/bolts.git
synced 2025-03-10 09:10:07 +01:00
BOLT 7: move the rational of short_channel_id
to the definition (#636)
This commit is contained in:
parent
636b9f2e28
commit
ea588805c7
1 changed files with 11 additions and 9 deletions
|
@ -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
|
indicating a channel on the output 1 of the transaction at index 845
|
||||||
of the block at height 539268.
|
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
|
## 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.
|
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
|
funding locked: deferring rather than ignoring it allows compatibility with
|
||||||
this behavior.
|
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
|
## The `channel_announcement` Message
|
||||||
|
|
||||||
This gossip message contains ownership information regarding a channel. It ties
|
This gossip message contains ownership information regarding a channel. It ties
|
||||||
|
|
Loading…
Add table
Reference in a new issue