Check node reveals against their commitments
verify_revealVerifies one to three cryptographic node reveals against published commitments and applies majority matching to identify outliers, mismatches, or incomplete results needing a third node.
Instructions
Checks one to three node reveals (job ID, result hash, wallet, salt) against the commitments the nodes published, using the SPEC.md scheme. With two or more reveals it also applies the matching rule: verified when at least two distinct wallets revealed the same result for the same job (others are outliers), mismatch when no result has a majority (send the job to a third node), incomplete otherwise. Offline.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"reveals": "<reveals>"
},
"name": "verify_reveal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reveals | Yes | One to three reveals of the same job. |