|
purify
C++ Purify implementation with native circuit and BPP support
|
#include <recovery_root.hpp>
Public Member Functions | |
| VerifiedDistributedRecoverySetup (const VerifiedDistributedRecoverySetup &)=delete | |
| VerifiedDistributedRecoverySetup & | operator= (const VerifiedDistributedRecoverySetup &)=delete |
| VerifiedDistributedRecoverySetup (VerifiedDistributedRecoverySetup &&) noexcept=default | |
| VerifiedDistributedRecoverySetup & | operator= (VerifiedDistributedRecoverySetup &&) noexcept=default |
| const RecoveryBoundSigningRoster & | roster () const noexcept |
| const RecoveryRootShareAggregate & | aggregate () const noexcept |
Friends | |
| Result< VerifiedDistributedRecoverySetup > | verify_distributed_recovery_setup (NonceHostBoundSigningRoster roster, const CoalitionFormation &formation, std::span< const RecoveryRootContribution > ordered_contributions, purify_secp_context *secp_context, bppp::ExperimentalCircuitBackend *cache=nullptr) |
An exact ordered contribution set authorized for anchor escrow.
This capability is move-only so its authorizing result and full-point aggregate are transferred together. It is created only after every formation-bound member proof verifies.
Definition at line 222 of file recovery_root.hpp.
|
delete |
References VerifiedDistributedRecoverySetup().
Referenced by operator=(), operator=(), VerifiedDistributedRecoverySetup(), VerifiedDistributedRecoverySetup(), and verify_distributed_recovery_setup.
|
defaultnoexcept |
References VerifiedDistributedRecoverySetup().
|
inlinenodiscardnoexcept |
Definition at line 237 of file recovery_root.hpp.
Referenced by purify::accountable::recover_distributed_escrowed_anchor(), purify::accountable::serialize_accepted_construction_parent_witness(), and verify_distributed_recovery_setup.
|
delete |
References VerifiedDistributedRecoverySetup().
|
defaultnoexcept |
References VerifiedDistributedRecoverySetup().
|
inlinenodiscardnoexcept |
Definition at line 233 of file recovery_root.hpp.
References roster().
Referenced by purify::accountable::recover_distributed_escrowed_anchor(), roster(), purify::accountable::serialize_accepted_construction_parent_witness(), and verify_distributed_recovery_setup.
|
friend |
Verify one contribution at every roster index and authorize its aggregate.
Count and formation mismatches are rejected before proof verification. This is the distributed counterpart to verify_recovery_root_setup.
Definition at line 931 of file recovery_root.cpp.
References aggregate(), purify::accountable::aggregate_recovery_root_shares(), purify::BindingMismatch, purify::accountable::CoalitionFormation::core_digest(), purify::EquationMismatch, PURIFY_ASSIGN_OR_RETURN, roster(), purify::SizeMismatch, purify::unexpected_error(), VerifiedDistributedRecoverySetup(), and purify::accountable::verify_recovery_root_contribution().