purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::accountable::ConstructionParentVerifier Class Reference

#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)

Detailed Description

The locally configured recursive construction-parent verifier.

Definition at line 81 of file construction_parent_verifier.hpp.

Constructor & Destructor Documentation

◆ ConstructionParentVerifier() [1/2]

purify::accountable::ConstructionParentVerifier::ConstructionParentVerifier ( const ConstructionParentVerifier & )
delete

◆ ConstructionParentVerifier() [2/2]

purify::accountable::ConstructionParentVerifier::ConstructionParentVerifier ( ConstructionParentVerifier && )
defaultnoexcept

◆ ~ConstructionParentVerifier()

purify::accountable::ConstructionParentVerifier::~ConstructionParentVerifier ( )
default

Member Function Documentation

◆ load()

Result< ConstructionParentVerifier > purify::accountable::ConstructionParentVerifier::load ( std::string_view artifact_path)
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().

◆ operator=() [1/2]

ConstructionParentVerifier & purify::accountable::ConstructionParentVerifier::operator= ( const ConstructionParentVerifier & )
delete

◆ operator=() [2/2]

ConstructionParentVerifier & purify::accountable::ConstructionParentVerifier::operator= ( ConstructionParentVerifier && )
defaultnoexcept

◆ verify()

Result< VerifiedConstructionReceipt > purify::accountable::ConstructionParentVerifier::verify ( const ResolvedConstructionSetup & setup,
const ConstructionReceiptEnvelope & envelope,
std::span< const ResolvedConstructionReceiptEntry > resolved_entries,
const ConstructionLeafAccumulator & leaves,
purify_secp_context * secp_context ) const
nodiscard

The documentation for this class was generated from the following files: