From 11d6442d179f1cc4cc8a0cc757dbfeb4f38fb826 Mon Sep 17 00:00:00 2001 From: Sam Korn Date: Wed, 13 Mar 2024 17:09:57 -0600 Subject: [PATCH] routerrpc: Add detailed info/trace logging during a rescan --- routing/router.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routing/router.go b/routing/router.go index 4abfe54b4..f4046d814 100644 --- a/routing/router.go +++ b/routing/router.go @@ -854,10 +854,14 @@ func (r *ChannelRouter) syncGraphWithChain() error { // Using the next height, request a manual block pruning from // the chainview for the particular block hash. + log.Infof("Filtering block for closed channels, at height: %v", + int64(nextHeight)) nextHash, err := r.cfg.Chain.GetBlockHash(int64(nextHeight)) if err != nil { return err } + log.Tracef("Running block filter on block with hash: %v", + nextHash) filterBlock, err := r.cfg.ChainView.FilterBlock(nextHash) if err != nil { return err