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

#include <construction_parent_verifier.hpp>

Public Member Functions

const ConstructionReceiptStatementDigest & statement_digest () const noexcept
std::uint32_t anchor_count () const noexcept
Result< AnchorPunishmentKey > recover_anchor (const FieldElement &exposed_signing_scalar, std::size_t anchor_index, purify_secp_context *secp_context) const

Friends

class ConstructionParentVerifier

Detailed Description

A construction receipt whose recursive ancestry and final native equation have both been verified.

This capability intentionally exposes no pending accumulation root. It does not activate enrollment or establish consensus acceptance.

Definition at line 33 of file construction_parent_verifier.hpp.

Member Function Documentation

◆ anchor_count()

std::uint32_t purify::accountable::VerifiedConstructionReceipt::anchor_count ( ) const
inlinenodiscardnoexcept

Definition at line 40 of file construction_parent_verifier.hpp.

◆ recover_anchor()

Result< AnchorPunishmentKey > purify::accountable::VerifiedConstructionReceipt::recover_anchor ( const FieldElement & exposed_signing_scalar,
std::size_t anchor_index,
purify_secp_context * secp_context ) const
nodiscard

Recover one ordered anchor after the coalition signing scalar leaks.

The parent verification that created this capability authenticated the exact roster, ciphertext, anchor root, punishment key, and context. The discarded child proof is therefore not needed again during recovery.

Definition at line 101 of file construction_parent_verifier.cpp.

References PURIFY_ASSIGN_OR_RETURN, purify::accountable::recover_aggregated_recovery_root(), recover_anchor(), and purify::accountable::recover_authenticated_anchor_ciphertext().

Referenced by recover_anchor().

◆ statement_digest()

const ConstructionReceiptStatementDigest & purify::accountable::VerifiedConstructionReceipt::statement_digest ( ) const
inlinenodiscardnoexcept

Definition at line 36 of file construction_parent_verifier.hpp.

◆ ConstructionParentVerifier

friend class ConstructionParentVerifier
friend

Definition at line 77 of file construction_parent_verifier.hpp.

References ConstructionParentVerifier.

Referenced by ConstructionParentVerifier.


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