purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
nonce_batch.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 <span>
8#include <vector>
9
11
12namespace purify {
13
24 std::vector<UInt512> hosts;
25};
26
36 std::span<const NonceBatchGroup> groups);
37
47 std::span<const NonceBatchGroup> groups,
48 std::span<const std::vector<BulletproofAssignmentData>> assignments);
49
50} // namespace purify
Native Bulletproof-style circuit types and witness serialization helpers.
Expected< T, Error > Result
Expected-returning convenience alias for Purify value-producing APIs.
Definition error.hpp:99
Result< BulletproofAssignmentData > nonce_batch_assignments(std::span< const NonceBatchGroup > groups, std::span< const std::vector< BulletproofAssignmentData > > assignments)
Validates and combines member assignments for nonce_batch_circuit.
std::vector< unsigned char > Bytes
Dynamically sized byte string used for messages, serialized witnesses, and proofs.
Definition common.hpp:99
Result< NativeBulletproofCircuit > nonce_batch_circuit(std::span< const NonceBatchGroup > groups)
Builds a public verifier circuit with one output commitment per group.
One ordered coalition/topic relation with its own summed nonce output.
std::vector< UInt512 > hosts