Refer to an "outage" over a "timeout", for when failure happens
authorMatt Corallo <git@bluematt.me>
Thu, 21 Sep 2023 20:21:13 +0000 (20:21 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 26 Sep 2023 16:37:19 +0000 (16:37 +0000)
Timeouts may be worth retrying, but an outage is a more general
term which obviously cannot be retried.

lightning/src/chain/chainmonitor.rs

index a49b3b426872df0a7133e93a6c9eb1421c29a389..60d50bf0adbae7a877cda9300118578640f15afd 100644 (file)
@@ -98,7 +98,7 @@ impl MonitorUpdateId {
 ///    If at some point no further progress can be made towards persisting the pending updates, the
 ///    node should simply shut down.
 ///
-///  * If the persistence has failed and cannot be retried further (e.g. because of some timeout),
+///  * If the persistence has failed and cannot be retried further (e.g. because of an outage),
 ///    [`ChannelMonitorUpdateStatus::UnrecoverableError`] can be used, though this will result in
 ///    an immediate panic and future operations in LDK generally failing.
 ///