chainntnfs: increase logging of the subsystems

This commit is contained in:
ziggie committed 2025-04-15 15:20:22 +02:00
1 parent 7d3b5a1bcf
commit 8dde8cfc59
3 files changed
+14

No files matched your search

+6
View File
@@ -204,7 +204,11 @@ func (b *BtcdNotifier) Stop() error {
return nil
}
// startNotifier is the main starting point for the BtcdNotifier. It connects
// to btcd and start the main dispatcher goroutine.
func (b *BtcdNotifier) startNotifier() error {
chainntnfs.Log.Infof("btcd notifier starting...")
// Start our concurrent queues before starting the chain connection, to
// ensure onBlockConnected and onRedeemingTx callbacks won't be
// blocked.
@@ -257,6 +261,8 @@ func (b *BtcdNotifier) startNotifier() error {
// startup.
atomic.StoreInt32(&b.active, 1)
chainntnfs.Log.Debugf("btcd notifier started")
return nil
}