go-header icon indicating copy to clipboard operation
go-header copied to clipboard

Metric to track effectiveness of header recency estimation

Open Wondertan opened this issue 11 months ago • 1 comments

We introduced the notion of header recency, which just checks if the header is recent via isRecent func. In case of the current subjective header is not recent, we forcefully re-request a new head. We need to know its effectiveness by checking if blockTime+blocktime/2 is big enough not to cause unnecessary requests for the actual real head.

Wondertan avatar Aug 21 '23 10:08 Wondertan