VerifyChainOptions
Defined in: src/integrity.ts:235
Options for verifyChain.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
checkpoints? |
AuditCheckpoint[] |
Checkpoints to check against the events (and whose signatures to verify). | src/integrity.ts:237 |
contiguous? |
boolean |
Treat the events as a contiguous range (default true): check seq continuity and prevHash links. Set false for filtered subsets — each event is then verified on its own. |
src/integrity.ts:245 |
keys? |
AuditVerificationKey[] |
Keys to verify checkpoint signatures with. Without keys, signatures are not checked. | src/integrity.ts:239 |
requireErasureRecords? |
boolean |
Require every erased section to be justified by a chained audit_log.erased event (default true). The erased list itself is not covered by the hash, so this is what stops “erase” from being a way to silently replace content (ADR 0011). Set false when verifying a range that ends before the erasure records, or when self-audit is disabled. |
src/integrity.ts:253 |