diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 8e417a7de8..1e8cafedef 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -224,7 +224,7 @@ var ( } ) -var app = flags.NewApp("the go-ethereum command line interface") +var app = flags.NewApp("the go-ethereum command line interface. Check for updates at https://github.com/0xPolygon/bor/releases") func init() { // Initialize the CLI app and start Geth diff --git a/eth/bor_checkpoint_verifier.go b/eth/bor_checkpoint_verifier.go index 63d2c2138a..ba36cb4cae 100644 --- a/eth/bor_checkpoint_verifier.go +++ b/eth/bor_checkpoint_verifier.go @@ -67,7 +67,7 @@ func borVerify(ctx context.Context, eth *Ethereum, handler *ethHandler, start ui head := currentBlock.Number.Uint64() if head < end { - log.Debug(fmt.Sprintf("Current head block behind incoming %s block", str), "head", head, "end block", end) + log.Info(fmt.Sprintf("Current head block behind incoming %s block", str), "head", head, "end block", end, "hint", "Check for updates if sync is stalled.") return hash, errChainOutOfSync } diff --git a/eth/handler_bor.go b/eth/handler_bor.go index 567fc74ecd..1a503f1e02 100644 --- a/eth/handler_bor.go +++ b/eth/handler_bor.go @@ -49,9 +49,9 @@ func (h *ethHandler) handleWhitelistCheckpoint(ctx context.Context, checkpoint * hash, err := verifier.verify(ctx, eth, h, checkpoint.StartBlock, checkpoint.EndBlock, checkpoint.RootHash.String()[2:], true) if err != nil { if errors.Is(err, errChainOutOfSync) { - log.Info("Whitelisting checkpoint deferred", "err", err) + log.Info("Whitelisting checkpoint deferred. Check for updates if sync is stalled.", "err", err) } else { - log.Warn("Failed to whitelist checkpoint", "err", err) + log.Warn("Failed to whitelist checkpoint. Check for updates if sync is stalled.", "err", err) } return common.Hash{}, err } @@ -91,9 +91,9 @@ func (h *ethHandler) handleMilestone(ctx context.Context, eth *Ethereum, milesto _, err := verifier.verify(ctx, eth, h, milestone.StartBlock, milestone.EndBlock, milestone.Hash.String()[2:], false) if err != nil { if errors.Is(err, errChainOutOfSync) { - log.Info("Whitelisting milestone deferred", "err", err) + log.Info("Whitelisting milestone deferred. Check for updates if sync is stalled.", "err", err) } else { - log.Warn("Failed to whitelist milestone", "err", err) + log.Warn("Failed to whitelist milestone. Check for updates if sync is stalled.", "err", err) } h.downloader.UnlockSprint(milestone.EndBlock) }