-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOLT 7: add chain_hashes values to channel_update and channel_announc…
…ment This commit adds a 32-byte `chain_hash` value to both the `channel_update` and `channel_announcement` messages. The rationale for this change is that this value is already present within the `open_channel` for identifying _which_ chain to open the channel within. As is now, if a pair of peers had channels open on two chains which somehow are encoded using the same `short_channel_id`, then the announcements would be ambitious. We resolve this by explicitly including the `chain_hash` is all channel related announcement messages. Note that with this change, we now require 40-bytes to uniquely identify a channel globally. Additionally, this modification of the channel announcement messages allows peers to start building up a heterogenous network graph.
- Loading branch information
1 parent
094a86e
commit 956e880
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters