Add new `ChannelError` category to send `warning` messages
authorMatt Corallo <git@bluematt.me>
Mon, 26 Jul 2021 20:01:36 +0000 (20:01 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 13 Aug 2021 23:02:23 +0000 (23:02 +0000)
commitbd14069f049066007fd159be85f92c217be50f55
treee528f7e357ba6470d31f1f1332fc3588159f2253
parentbe9ffb48193162c92ec6b32eb60d53b1af86c4d4
Add new `ChannelError` category to send `warning` messages

We don't actually yet support `warning` messages as there are
issues left to resolve in the spec PR, but there's nothing to stop
us adding an internal enum variant for sending a warning message
before we actually support doing so.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs