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

Function advertisedVersionsFromPreference

protocol/version.go:79–96  ·  view source on GitHub ↗

advertisedVersionsFromPreference derives the list of versions advertised in its request by a client with the given preferences. If len(versionPreference) == 0, then a safe default is used. If versionPreference includes Google-Roughtime, then it must be the only version that is supported. If not, a

(versionPreference []Version)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

CreateRequestFunction · 0.85
VerifyReplyFunction · 0.85

Calls

no outgoing calls

Tested by 1