MCPcopy Create free account
hub / github.com/cloudflare/roughtime / MedianDeltaWithRadiusThresh

Function MedianDeltaWithRadiusThresh

client/client.go:306–340  ·  view source on GitHub ↗

MedianDeltaWithRadiusThresh computes the median difference between t0 and the time reported by each server, rejecting responses whose uncertainty radii aren't within the accepted limit.

(results []Result, t0 time.Time, thresh time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

mainFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92

Calls 2

NowMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected