mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-03 21:24:22 +01:00
We *should* remember the channel type, since this is only required if they set the channel_type to include option_scid_alias. However, since we support channel upgrade, channel_type really needs a new table. I have a patch for that, from my abandoned original "fastopen" branch for aliases, but it's too big a chance for rc2 IMHO. Meanwhile, we allow exposeprivatechannels's scids to be either real or the aliases. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: Protocol: invoice routehints will use fake short-channel-ids for private channels if channel opened with option_scid_alias-supporting peer.