Skip to content

loadSecurityCommitmentsEqual

loadSecurityCommitmentsEqual(trusted, candidate): boolean

Defined in: packages/core/src/load-security-state.ts:276

Compare a remotely supplied V4 tuple with the locally captured trust anchor. Group and epoch use exact equality. Every byte of every fixed-size hash is visited before returning, so hash-content comparison does not short-circuit on the first differing byte.

LoadSecurityCommitments | undefined

LoadSecurityCommitments | undefined

boolean