Skip to content

Commit 8a9088f

Browse files
committed
Clarify ChannelManager docs somewhat around full blocks
As suggested by Val.
1 parent 6f92436 commit 8a9088f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4009,8 +4009,9 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> Writeable f
40094009
/// ChannelManager)>::read(reader, args).
40104010
/// This may result in closing some Channels if the ChannelMonitor is newer than the stored
40114011
/// ChannelManager state to ensure no loss of funds. Thus, transactions may be broadcasted.
4012-
/// 3) Register all relevant ChannelMonitor outpoints with your chain watch mechanism using
4013-
/// ChannelMonitor::get_outputs_to_watch() and ChannelMonitor::get_funding_txo().
4012+
/// 3) If you are not fetching full blocks, register all relevant ChannelMonitor outpoints with
4013+
/// your chain watch mechanism using ChannelMonitor::get_outputs_to_watch() and
4014+
/// ChannelMonitor::get_funding_txo().
40144015
/// 4) Reconnect blocks on your ChannelMonitors.
40154016
/// 5) Disconnect/connect blocks on the ChannelManager.
40164017
/// 6) Move the ChannelMonitors into your local chain::Watch.

0 commit comments

Comments
 (0)