#include <origin_tag.hpp>
|
static constexpr size_t | CONSTANT = static_cast<size_t>(-1) |
|
static constexpr size_t | FREE_WITNESS = static_cast<size_t>(-2) |
|
Definition at line 64 of file origin_tag.hpp.
◆ OriginTag() [1/6]
bb::OriginTag::OriginTag |
( |
| ) |
|
|
default |
◆ OriginTag() [2/6]
bb::OriginTag::OriginTag |
( |
const OriginTag & |
other | ) |
|
|
default |
◆ OriginTag() [3/6]
bb::OriginTag::OriginTag |
( |
OriginTag && |
other | ) |
|
|
default |
◆ OriginTag() [4/6]
bb::OriginTag::OriginTag |
( |
size_t |
parent_index, |
|
|
size_t |
child_index, |
|
|
bool |
is_submitted = true |
|
) |
| |
|
inline |
Construct a new Origin Tag object.
- Parameters
-
parent_index | The index of the transcript object |
child_index | The round in which we generate/receive the value |
is_submitted | If the value is submitted by the prover (not a challenge) |
Definition at line 104 of file origin_tag.hpp.
◆ OriginTag() [5/6]
Construct a new Origin Tag by merging two other Origin Tags.
The function checks for 3 things: 1) The no tag has instant death set, 2) That tags are from the same transcript (same parent tag) or are empty, 3) A complex check for the child tags. After that the child tags are merged and we create a new Origin Tag
- Parameters
-
Definition at line 42 of file origin_tag.cpp.
◆ OriginTag() [6/6]
template<class... T>
bb::OriginTag::OriginTag |
( |
const OriginTag & |
tag, |
|
|
const T &... |
rest |
|
) |
| |
|
inline |
Construct a new Origin Tag from merging several origin tags.
Basically performs the same actions as the constructor from 2 Origin Tags, but iteratively
- Template Parameters
-
- Parameters
-
Definition at line 132 of file origin_tag.hpp.
◆ ~OriginTag()
bb::OriginTag::~OriginTag |
( |
| ) |
|
|
default |
◆ is_empty()
bool bb::OriginTag::is_empty |
( |
| ) |
const |
|
inline |
◆ is_free_witness()
bool bb::OriginTag::is_free_witness |
( |
| ) |
const |
|
inline |
◆ is_poisoned()
bool bb::OriginTag::is_poisoned |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool bb::OriginTag::operator== |
( |
const OriginTag & |
other | ) |
const |
◆ poison()
void bb::OriginTag::poison |
( |
| ) |
|
|
inline |
◆ set_free_witness()
void bb::OriginTag::set_free_witness |
( |
| ) |
|
|
inline |
◆ unpoison()
void bb::OriginTag::unpoison |
( |
| ) |
|
|
inline |
◆ unset_free_witness()
void bb::OriginTag::unset_free_witness |
( |
| ) |
|
|
inline |
◆ child_tag
◆ CONSTANT
constexpr size_t bb::OriginTag::CONSTANT = static_cast<size_t>(-1) |
|
staticconstexpr |
◆ FREE_WITNESS
constexpr size_t bb::OriginTag::FREE_WITNESS = static_cast<size_t>(-2) |
|
staticconstexpr |
◆ instant_death
bool bb::OriginTag::instant_death = false |
◆ parent_tag
size_t bb::OriginTag::parent_tag = CONSTANT |
The documentation for this struct was generated from the following files: