lightning icon indicating copy to clipboard operation
lightning copied to clipboard

channeld: send warning, not error if peer has old commitment number.

Open rustyrussell opened this issue 3 years ago • 2 comments
trafficstars

This is the minimal change to meet the desired outcome of https://github.com/lightning/bolts/issues/934 which wants to give obsolete-db nodes a chance to fix things up, before we close the channel.

We need to dance around a bit here, since we will close the channel if we receive an ERROR, so we suppress that.

rustyrussell avatar Apr 01 '22 02:04 rustyrussell

This title of the PR is misleading, shouldn't it be exactly the opposite (ie send warning, not error)?

t-bast avatar Apr 01 '22 07:04 t-bast

Rebased on top of master to get CI to rerun and ready the PR for merge.

cdecker avatar Jul 19 '22 10:07 cdecker