diff --git a/reporter/reporter.go b/reporter/reporter.go index bdce80dc..0772ec9a 100644 --- a/reporter/reporter.go +++ b/reporter/reporter.go @@ -45,7 +45,7 @@ func New(cfg *config.ReporterConfig, btcClient *btcclient.Client, babylonClient k := btccParams.BtcConfirmationDepth w := btccParams.CheckpointFinalizationTimeout - btcCacheMaxEntries := uint(k+w) + 1 + btcCacheMaxEntries := uint(k+w) + 1000 // TODO: btcCacheMaxEntries can still be larger than k+w. We need to give a larger btc cache size here log.Infof("BTCCheckpoint parameters: (k, w) = (%d, %d)", k, w)