rust-lightning icon indicating copy to clipboard operation
rust-lightning copied to clipboard

Don't create a `ChannelMonitor` for inbound channels until we have a confirmation

Open TheBlueMatt opened this issue 2 years ago • 1 comments

If we get an inbound (non-zero-conf) channel, there's no reason to bother creating a ChannelMonitor until we see the funding transaction on-chain. Given monitors have relatively high cost, we should absolutely avoid this if possible.

TheBlueMatt avatar Jan 26 '23 04:01 TheBlueMatt

We should do this, but its a bigger lift. #3384 should get fixed in 0.2 and then this can wait until 0.3/0.4.

TheBlueMatt avatar Sep 18 '25 01:09 TheBlueMatt