purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::ExperimentalBulletproofProof Struct Reference

Experimental single-proof wrapper over the imported legacy Bulletproof circuit backend. More...

#include <bulletproof.hpp>

Public Member Functions

Result< Bytes > serialize () const

Static Public Member Functions

static Result< ExperimentalBulletproofProof > deserialize (std::span< const unsigned char > bytes)

Data Fields

std::vector< BulletproofPointBytes > commitments
Bytes proof

Static Public Attributes

static constexpr unsigned char kSerializationVersion = 3

Detailed Description

This artifact carries the circuit's ordered compressed output points alongside the proof bytes. The proof transcript is always bound to a canonical digest of the native circuit and optional statement-binding bytes supplied to the prove/verify helpers below.

Definition at line 303 of file bulletproof.hpp.

Member Function Documentation

◆ deserialize()

Result< ExperimentalBulletproofProof > purify::ExperimentalBulletproofProof::deserialize ( std::span< const unsigned char > bytes)
static

◆ serialize()

Field Documentation

◆ commitments

std::vector<BulletproofPointBytes> purify::ExperimentalBulletproofProof::commitments

◆ kSerializationVersion

unsigned char purify::ExperimentalBulletproofProof::kSerializationVersion = 3
staticconstexpr

Definition at line 304 of file bulletproof.hpp.

Referenced by deserialize(), and serialize().

◆ proof

Bytes purify::ExperimentalBulletproofProof::proof

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