Skip to content

Commit 756713a

Browse files
committed
Clarify ChannelManager docs somewhat around full blocks
As suggested by Val.
1 parent 1ffc69f commit 756713a

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
@@ -4007,8 +4007,9 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> Writeable f
40074007
/// ChannelManager)>::read(reader, args).
40084008
/// This may result in closing some Channels if the ChannelMonitor is newer than the stored
40094009
/// ChannelManager state to ensure no loss of funds. Thus, transactions may be broadcasted.
4010-
/// 3) Register all relevant ChannelMonitor outpoints with your chain watch mechanism using
4011-
/// ChannelMonitor::get_outputs_to_watch() and ChannelMonitor::get_funding_txo().
4010+
/// 3) If you are not fetching full blocks, register all relevant ChannelMonitor outpoints with
4011+
/// your chain watch mechanism using ChannelMonitor::get_outputs_to_watch() and
4012+
/// ChannelMonitor::get_funding_txo().
40124013
/// 4) Reconnect blocks on your ChannelMonitors.
40134014
/// 5) Disconnect/connect blocks on the ChannelManager.
40144015
/// 6) Move the ChannelMonitors into your local chain::Watch.

0 commit comments

Comments
 (0)