Verifier Acceptance Spec¶
What This Page Explains¶
This page explains what the verifier acceptance path checks today in the published bounded profile.
Why It Matters¶
New readers need to distinguish structural acceptance, bounded semantic checks, and what remains host-side.
Plain-Language Concept¶
The verifier path accepts specific boundary formats and checks the bounded statement profile currently published. It is a milestone profile, not final verifier completeness for all future modes.
Technical Detail¶
Profile Accepted Today¶
- Trustless Relation Query 1 (TRQ1)
- backend id
2 - bounded two-input lane profile
Inputs Accepted¶
verifySpend(...) accepts:
piv1Bytes: Public Inputs version 1 (PIv1), wire magic"PIV1"pbv1Bytes: Proof Blob version 1 (PBv1), wire magic"PBV1"
What Is Checked¶
- Structural checks: envelope parsing, encoding validity, profile/backend compatibility, binding consistency.
- Bounded semantic checks: relation checks for the active bounded lane profile.
- Host-side checks: transaction-carrier integrity and integration fail-closed behavior on the wallet/host path.
BCH Constraints And Bounded Verification¶
BCH script and carrier constraints shape a bounded verifier path in this milestone. The path is strong for its published profile, but not a claim of generalized verifier completeness across arbitrary profiles or full-system metadata closure.
Current Truth Boundary¶
- Current truth: verifier acceptance path is live for the published profile.
- Proof-enforced semantics: bounded profile checks are enforced when verification succeeds.
- Artifact-described behavior: evidence reporting remains descriptive.
- Public observables: BCH graph/economics/topology remain public.
- Future optional aggregation: outside verifier acceptance scope.
Code Mapping¶
- Verifier acceptance and adapter:
- standalone/prover-runtime/src/contract/adapter.ts
- Boundary codecs:
- standalone/prover-runtime/src/boundary/public_inputs_v1.ts
- standalone/prover-runtime/src/boundary/proof_blob_v1.ts
- Lane/profile and parity:
- standalone/prover-runtime/src/runtime/stark_rq_trq1_backend_v1.ts
- standalone/prover-runtime/src/parity/*
- Host/verifier split surfaces:
- packages/pool-shards/src/host_unlock_v1.ts
- packages/pool-shards/src/verifier_stage_b_dispatch_v1.ts