Skip to content

Commit cd2367f

Browse files
committed
f - use enforcement instead of monitoring
1 parent d3de06b commit cd2367f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,17 +1093,17 @@ where
10931093
///
10941094
/// # `ChannelManager` vs `ChannelMonitor`
10951095
///
1096-
/// It's important to distinguish between the *off-chain* management and *on-chain* monitoring of
1096+
/// It's important to distinguish between the *off-chain* management and *on-chain* enforcement of
10971097
/// lightning channels. [`ChannelManager`] exchanges messages with peers to manage the off-chain
10981098
/// state of each channel. During this process, it generates a [`ChannelMonitor`] for each channel
10991099
/// and a [`ChannelMonitorUpdate`] for each relevant change, notifying its parameterized
11001100
/// [`chain::Watch`] of them.
11011101
///
11021102
/// An implementation of [`chain::Watch`], such as [`ChainMonitor`], is responsible for aggregating
11031103
/// these [`ChannelMonitor`]s and applying any [`ChannelMonitorUpdate`]s to them. It then monitors
1104-
/// for any pertinent on-chain activity, broadcasting claims as needed.
1104+
/// for any pertinent on-chain activity, enforcing claims as needed.
11051105
///
1106-
/// This division of off-chain management and on-chain monitoring is what allows for interesting
1106+
/// This division of off-chain management and on-chain enforcement is what allows for interesting
11071107
/// node setups. See the [`chain`] module for further details.
11081108
///
11091109
/// # Persistence

0 commit comments

Comments
 (0)