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< Bytesserialize () const
 

Static Public Member Functions

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

Data Fields

BulletproofPointBytes commitment {}
 
Bytes proof
 

Static Public Attributes

static constexpr unsigned char kSerializationVersion = 2
 

Detailed Description

This artifact is wire-ready: when the circuit exposes one committed scalar it carries the exact compressed public point 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 301 of file bulletproof.hpp.

Member Function Documentation

◆ deserialize()

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

◆ serialize()

Result< Bytes > purify::ExperimentalBulletproofProof::serialize ( ) const

Field Documentation

◆ commitment

BulletproofPointBytes purify::ExperimentalBulletproofProof::commitment {}

◆ kSerializationVersion

constexpr unsigned char purify::ExperimentalBulletproofProof::kSerializationVersion = 2
staticconstexpr

Definition at line 302 of file bulletproof.hpp.

◆ proof

Bytes purify::ExperimentalBulletproofProof::proof

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