@@ -113,7 +113,7 @@ rest!
113
113
So what happens? The ` ChannelManager ` examines the blocks transactions and
114
114
updates the internal channel state as needed. The ` ChainMonitor ` will detect
115
115
any spends of the channel funding transaction or any pertinent transaction
116
- outputs of interest , tracking them as necessary.
116
+ outputs, tracking them as necessary.
117
117
118
118
If necessary, LDK will broadcast a transaction on your behalf. More on that
119
119
later. For now, let's look at the more interesting case of pre-filtered blocks.
@@ -129,8 +129,6 @@ For example, if your block source is an Electrum client, you can pass along this
129
129
information to it. Or if you are making use of a BIP 157 client, you can check
130
130
if a block contains relevant transactions before fetching it.
131
131
132
- Either way, when a block is connected, its header must be processed by LDK.
133
-
134
132
So how does this work in practice? ` ChainMonitor ` is parameterized by an
135
133
optional type that implements ` chain::Filter ` :
136
134
@@ -179,6 +177,8 @@ When this is provided, `ChainMonitor` will call back to the filter as channels
179
177
are opened and blocks connected. This gives the opportunity for the source to
180
178
pre-filter blocks as desired.
181
179
180
+ Regardless, when a block is connected, its header must be processed by LDK.
181
+
182
182
## Transaction Broadcast
183
183
184
184
Inevitably, LDK will need to broadcast transactions on your behalf. As you
0 commit comments