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

Public BIP340 nonce point in x-only form. More...

#include <legacy.hpp>

Public Member Functions

Bytes serialize () const
 

Static Public Member Functions

static Result< Noncedeserialize (std::span< const unsigned char > serialized, purify_secp_context *secp_context)
 

Data Fields

XOnly32 xonly {}
 

Static Public Attributes

static constexpr std::size_t kSerializedSize = 32
 

Detailed Description

Definition at line 190 of file legacy.hpp.

Member Function Documentation

◆ deserialize()

Result< Nonce > purify::puresign::Nonce::deserialize ( std::span< const unsigned char >  serialized,
purify_secp_context secp_context 
)
static

◆ serialize()

Bytes purify::puresign::Nonce::serialize ( ) const

Definition at line 67 of file legacy.cpp.

References xonly.

Field Documentation

◆ kSerializedSize

constexpr std::size_t purify::puresign::Nonce::kSerializedSize = 32
staticconstexpr

Definition at line 191 of file legacy.hpp.

Referenced by deserialize().

◆ xonly


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