We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf35be8 + ab90044 commit d1093cdCopy full SHA for d1093cd
server.go
@@ -5419,6 +5419,15 @@ func (s *server) getStartingBeat() (*chainio.Beat, error) {
5419
// beat is the current blockbeat.
5420
var beat *chainio.Beat
5421
5422
+ // If the node is configured with nochainbackend mode (remote signer),
5423
+ // we will skip fetching the best block.
5424
+ if s.cfg.Bitcoin.Node == "nochainbackend" {
5425
+ srvrLog.Info("Skipping block notification for nochainbackend " +
5426
+ "mode")
5427
+
5428
+ return &chainio.Beat{}, nil
5429
+ }
5430
5431
// We should get a notification with the current best block immediately
5432
// by passing a nil block.
5433
blockEpochs, err := s.cc.ChainNotifier.RegisterBlockEpochNtfn(nil)
0 commit comments