|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <to_radix_trace.hpp>
Public Member Functions | |
| void | process (const simulation::EventEmitterInterface< simulation::ToRadixEvent >::Container &events, TraceContainer &trace) |
| Processes the non-memory aware to_radix subtrace ingesting ToRadixEvent events. The populated number of rows per event is equal to the number of limbs in the event. Simulation guarantees that the limbs in the event fully decompose the value (no truncation) but high limbs might be zero. | |
| void | process_with_memory (const simulation::EventEmitterInterface< simulation::ToRadixMemoryEvent >::Container &events, TraceContainer &trace) |
| Processes the memory aware to_radix subtrace ingesting ToRadixMemoryEvent events. The populated number of rows per event is equal to event.num_limbs if there is no error and num_limbs is not zero. Otherwise, a single row is populated. | |
Static Public Attributes | |
| static const InteractionDefinition | interactions |
Definition at line 10 of file to_radix_trace.hpp.
| void bb::avm2::tracegen::ToRadixTraceBuilder::process | ( | const simulation::EventEmitterInterface< simulation::ToRadixEvent >::Container & | events, |
| TraceContainer & | trace | ||
| ) |
Processes the non-memory aware to_radix subtrace ingesting ToRadixEvent events. The populated number of rows per event is equal to the number of limbs in the event. Simulation guarantees that the limbs in the event fully decompose the value (no truncation) but high limbs might be zero.
| events | The events of type ToRadixEvent to process. |
| trace | The trace to populate. |
Definition at line 28 of file to_radix_trace.cpp.
| void bb::avm2::tracegen::ToRadixTraceBuilder::process_with_memory | ( | const simulation::EventEmitterInterface< simulation::ToRadixMemoryEvent >::Container & | events, |
| TraceContainer & | trace | ||
| ) |
Processes the memory aware to_radix subtrace ingesting ToRadixMemoryEvent events. The populated number of rows per event is equal to event.num_limbs if there is no error and num_limbs is not zero. Otherwise, a single row is populated.
| events | The events of type ToRadixMemoryEvent to process. |
| trace | The trace to populate. |
Definition at line 126 of file to_radix_trace.cpp.
|
static |
Definition at line 17 of file to_radix_trace.hpp.