Verify a record against the published procedure
verify_evidenceVerify evidence by replaying records against applicable rules to check hashes, signatures, version chains, and guarded transitions. Each item is reported as verified, failed, or not_checkable.
Instructions
Run the seven-step verification procedure over a set of objects: content hashes, signatures and the purpose each was issued for, version chains, event-chain continuity, guarded transitions replayed against the rules version in force, whether each determination follows from its rules, and what could not be checked. Use it on your own record before relying on it, and on anything a counterparty sends you.
Pass transaction_id to verify this server's record of one transaction, object_ids to verify part of it, or objects to verify a bundle somebody handed you.
Every check returns verified, failed, or not_checkable, and the result carries no overall boolean, because a report reduced to one discards what could not be checked. A signature whose key you do not hold is not checkable and is never thereby verified. Without rules_version, guarded transitions are not checkable rather than verified: an unresolvable rule set is not permission in either direction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | No | Objects presented by value, for example a bundle a counterparty sent. | |
| object_ids | No | Identifiers of objects this server holds. | |
| rules_version | No | The rule set version in force when the record appended, for example 1.3. A record replays against the version it was written under, never the current one. | |
| transaction_id | No | Verify every object this server holds for one transaction. |