-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOLT 2: define channel_type, make negotiation explicit.
This is extracted from channel_upgrade (#868), but used for opening negotiation as suggested by @Roasbeef on the last spec meeting. It's a trivial change, fully backwards compatible, but now each channel has a channel_type, which defines its behavior, rather than an ad-hoc set of "sticky" feature bits. It also means both peers can *support* a feature without endorsing it. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
fdc078f
commit 4372f9d
Showing
1 changed file
with
45 additions
and
11 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