classifyServedSchema
Classify a host’s advertised schema identity against the pin (ADR 22936
D3). Equal fingerprints: no check at all, whatever the epochs. A served
epoch that is not a non-negative integer reads as absent, so
this call on initializeResult.schema reports the tier the handshake
reported. Returns undefined when there is nothing to say — a mismatch is
surfaced, not thrown; the refusal is the connection’s decision, not this
function’s.
Signature
Section titled “Signature”classifyServedSchema(served: ServedSchemaIdentity): FingerprintWarning | undefined
Parameters
Section titled “Parameters”| Parameter | Type | Stability | Presence | Description |
|---|---|---|---|---|
served |
ServedSchemaIdentity |
required |
Returns
Section titled “Returns”FingerprintWarning | undefined
Source
clients/sdk-ts/src/fingerprint.ts:141
{ "kind": "Function", "canonicalPath": "classifyServedSchema"}