Audit and Evidence¶
Every published result is audited by every auditor.
Checks¶
| Finding | Meaning |
|---|---|
chain_anomaly |
Signatures, votes or proposal on the ledger do not support the result |
action_not_executed |
Reported as completed, but not executed |
misreported_failure |
Reported as failed, but executed |
result_mismatch |
Action, input or output differ from the record |
The first applies to synchronous tasks. Without a finding, the task is finalized.
Procedure¶
- The auditor submits evidence on the ledger and the details to the evidence service. The task becomes disputed.
- All auditors that are active at this time are asked to vote.
- Each repeats the audit itself and votes.
- With a two-thirds majority, the evidence is upheld: the task becomes invalid, the accused is revoked, and if it leads, the leader rotates. Otherwise it is rejected and the task is finalized.
Query¶
curl "http://evidence:8080/v1/evidence?accused_entity_id=<did>&status=upheld"
curl "http://evidence:8080/v1/evidence/<id>/verifications"
GraphQL is available at /graphql.