File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,8 @@ func (b *BitcoindNotifier) Started() bool {
171
171
}
172
172
173
173
func (b *BitcoindNotifier) startNotifier() error {
174
+ chainntnfs.Log.Infof("bitcoind notifier starting...")
175
+
174
176
// Connect to bitcoind, and register for notifications on connected,
175
177
// and disconnected blocks.
176
178
if err := b.chainConn.Start(); err != nil {
@@ -207,6 +209,8 @@ func (b *BitcoindNotifier) startNotifier() error {
207
209
// startup.
208
210
atomic.StoreInt32(&b.active, 1)
209
211
212
+ chainntnfs.Log.Debugf("bitcoind notifier started")
213
+
210
214
return nil
211
215
}
212
216
Original file line number Diff line number Diff line change @@ -204,7 +204,11 @@ func (b *BtcdNotifier) Stop() error {
204
204
return nil
205
205
}
206
206
207
+ // startNotifier is the main starting point for the BtcdNotifier. It connects
208
+ // to btcd and start the main dispatcher goroutine.
207
209
func (b *BtcdNotifier) startNotifier() error {
210
+ chainntnfs.Log.Infof("btcd notifier starting...")
211
+
208
212
// Start our concurrent queues before starting the chain connection, to
209
213
// ensure onBlockConnected and onRedeemingTx callbacks won't be
210
214
// blocked.
@@ -257,6 +261,8 @@ func (b *BtcdNotifier) startNotifier() error {
257
261
// startup.
258
262
atomic.StoreInt32(&b.active, 1)
259
263
264
+ chainntnfs.Log.Debugf("btcd notifier started")
265
+
260
266
return nil
261
267
}
262
268
Original file line number Diff line number Diff line change @@ -168,6 +168,8 @@ func (n *NeutrinoNotifier) Started() bool {
168
168
}
169
169
170
170
func (n *NeutrinoNotifier) startNotifier() error {
171
+ chainntnfs.Log.Infof("neutrino notifier starting...")
172
+
171
173
// Start our concurrent queues before starting the rescan, to ensure
172
174
// onFilteredBlockConnected and onRelavantTx callbacks won't be
173
175
// blocked.
@@ -234,6 +236,8 @@ func (n *NeutrinoNotifier) startNotifier() error {
234
236
// startup.
235
237
atomic.StoreInt32(&n.active, 1)
236
238
239
+ chainntnfs.Log.Debugf("neutrino notifier started")
240
+
237
241
return nil
238
242
}
239
243
You can’t perform that action at this time.
0 commit comments