|
purify
C++ Purify implementation with native circuit and BPP support
|
#include <construction_parent_verifier.hpp>
Data Structures | |
| struct | Impl |
Public Member Functions | |
| ConstructionParentVerifier (const ConstructionParentVerifier &)=delete | |
| ConstructionParentVerifier & | operator= (const ConstructionParentVerifier &)=delete |
| ConstructionParentVerifier (ConstructionParentVerifier &&) noexcept | |
| ConstructionParentVerifier & | operator= (ConstructionParentVerifier &&) noexcept |
| ~ConstructionParentVerifier () | |
| Result< VerifiedConstructionReceipt > | verify (const ResolvedConstructionSetup &setup, const ConstructionReceiptEnvelope &envelope, std::span< const ResolvedConstructionReceiptEntry > resolved_entries, const ConstructionLeafAccumulator &leaves, purify_secp_context *secp_context) const |
Static Public Member Functions | |
| static Result< ConstructionParentVerifier > | load (std::string_view artifact_path) |
The locally configured recursive construction-parent verifier.
Definition at line 81 of file construction_parent_verifier.hpp.
|
delete |
References ConstructionParentVerifier().
Referenced by ConstructionParentVerifier(), ConstructionParentVerifier(), load(), operator=(), operator=(), and ~ConstructionParentVerifier().
|
defaultnoexcept |
References ConstructionParentVerifier().
|
default |
References ConstructionParentVerifier(), load(), and verify().
|
staticnodiscard |
Loads the configured verifier from an explicit UTF-8 storage path.
The path cannot select artifact identity. A digest or shape mismatch is an internal deployment error, not a peer-retry condition. Deploy the artifact through an immutable, read-only snapshot; concurrent mutation is also a deployment fault.
Definition at line 126 of file construction_parent_verifier.cpp.
References ConstructionParentVerifier(), purify::InternalMismatch, PURIFY_CONSTRUCTION_PARENT_OK, purify_construction_parent_verifier_load(), purify::RangeViolation, purify::unexpected_error(), and purify::verifier().
Referenced by ~ConstructionParentVerifier().
|
delete |
References ConstructionParentVerifier().
|
defaultnoexcept |
References ConstructionParentVerifier().
|
nodiscard |
Verifies exact payload ancestry and completes the final native decision before returning a local cryptographic acceptance capability. Registry, enrollment, and consensus policy remain external.
Recursive proof rejection returns BackendRejectedInput. An authenticated pending root that fails the native decision returns EquationMismatch.
Definition at line 148 of file construction_parent_verifier.cpp.
References purify::accountable::ConstructionReceiptPayload::anchor_entries(), purify::accountable::ConstructionLeafAccumulator::basis(), purify::accountable::ResolvedConstructionSetupDigest::bytes(), purify::bppp::accumulation::decide(), purify::bppp::accumulation::Basis::digest(), purify::accountable::ConstructionReceiptAccumulator::kRootClaimSerializedSize, purify::accountable::ConstructionReceiptEnvelope::parent_proof(), purify::bppp::accumulation::parse_root_claim(), purify::accountable::ConstructionReceiptEnvelope::payload(), PURIFY_ASSIGN_OR_RETURN, PURIFY_CONSTRUCTION_PARENT_OK, purify_construction_parent_verify(), PURIFY_RETURN_IF_ERROR, purify::accountable::ResolvedConstructionSetup::recovery_root(), purify::accountable::detail::resolve_construction_parent_public_inputs(), purify::accountable::ResolvedConstructionSetup::resolved_digest(), purify::accountable::ResolvedConstructionSetup::roster(), purify::BigUInt< Words >::to_bytes_be(), purify::unexpected_error(), and purify::UninitializedState.
Referenced by ~ConstructionParentVerifier().