]> git.bitcoin.ninja Git - rust-lightning/commit
Handle cases where a channel is in use w/o an SCID in ChannelManager
authorMatt Corallo <git@bluematt.me>
Fri, 4 Mar 2022 21:24:39 +0000 (21:24 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 27 May 2022 22:40:07 +0000 (22:40 +0000)
commit585493a3e1654e57d8be79b7d405d1290abe7ea1
treeae88dbab31aec86533eff53cdffe4126626e3b21
parent342698fe5ac1e63cae47f1715db736435abf5d1c
Handle cases where a channel is in use w/o an SCID in ChannelManager

In the next few commits we add support for 0conf channels, allowing
us to have an active channel with HTLC and other updates flying
prior to having an SCID available. This would break several
assumptions made in `ChannelManager`, which we address here by
looking at SCID aliases in addition to SCIDs.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs