1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

BOlT07: clarify dont_forward bit use cases. (#1198)

This commit is contained in:
ziggieXXX 2024-09-18 13:37:56 +02:00 committed by GitHub
parent e6ee5f8b95
commit 0809f77c7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -452,8 +452,9 @@ or `node_id_2` otherwise.
The origin node:
- MUST NOT send a created `channel_update` before `channel_ready` has been received.
- MAY create a `channel_update` to communicate the channel parameters to the
channel peer, even though the channel has not yet been announced (i.e. the
`announce_channel` bit was not set).
channel peer, even though the channel has not yet been announced (i.e.
the `announce_channel` bit was not set or the `channel_update` is sent before
the peers exchanged [announcement signatures](#the-announcement_signatures-message)).
- MUST set the `short_channel_id` to either an `alias` it has
received from the peer, or the real channel `short_channel_id`.
- MUST set `dont_forward` to 1 in `message_flags`