purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
construction_parent_input_internal.hpp
Go to the documentation of this file.
1// Copyright (c) 2026 Judica, Inc.
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or https://opensource.org/license/mit/.
4
5#pragma once
6
7#include <array>
8#include <cstddef>
9#include <cstdint>
10#include <span>
11#include <vector>
12
14
16
17inline constexpr std::size_t kConstructionParentDescriptorSize =
18 32 + 32 + 33 + 33;
19
29
32 const ResolvedConstructionSetup& setup,
33 const ConstructionReceiptPayload& payload,
34 std::span<const ResolvedConstructionReceiptEntry> resolved_entries,
35 const ConstructionLeafAccumulator& leaves,
36 purify_secp_context* secp_context);
37
38} // namespace purify::accountable::detail
Canonical public payload for a coalition construction receipt.
Result< ResolvedConstructionParentPublicInputs > resolve_construction_parent_public_inputs(const ResolvedConstructionSetup &setup, const ConstructionReceiptPayload &payload, std::span< const ResolvedConstructionReceiptEntry > resolved_entries, const ConstructionLeafAccumulator &leaves, purify_secp_context *secp_context)
std::array< unsigned char, 32 > ConstructionReceiptStatementDigest
Expected< T, Error > Result
Expected-returning convenience alias for Purify value-producing APIs.
Definition error.hpp:99