Skip to content

Commit d122997

Browse files
committed
Zero-conf typos and clarifications
A typo wasn't fixed before merging, and there was a confusion between public and private channels in the rationale for `alias`.
1 parent bc86304 commit d122997

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

02-peer-protocol.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -549,10 +549,11 @@ to broadcast the commitment transaction to get his funds back and open a new
549549
channel. To avoid this, the funder should ensure the funding transaction
550550
confirms in the next 2016 blocks.
551551

552-
The `alias` here is both required for routing (since there real
553-
short_channel_id is unknown until confirmation), and useful to provide
554-
one or more aliases, even once there is a real `short_channel_id` for
555-
a public channel.
552+
The `alias` here is required for two distinct use cases. The first one is
553+
for routing payments through channels that are not confirmed yet (since
554+
the real `short_channel_id` is unknown until confirmation). The second one
555+
is to provide one or more aliases to use for private channels (even once
556+
a real `short_channel_id` is available).
556557

557558
While a node can send multiple `alias`, it must remember all of the
558559
ones it has sent so it can use them should they be requested by

0 commit comments

Comments
 (0)