|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <address_derivation_trace.hpp>
Public Member Functions | |
| void | process (const simulation::EventEmitterInterface< simulation::AddressDerivationEvent >::Container &events, TraceContainer &trace) |
| Process address derivation events and populate the relevant columns in the trace. Corresponds to the subtrace address_derivation.pil. | |
Static Public Attributes | |
| static const InteractionDefinition | interactions |
Definition at line 13 of file address_derivation_trace.hpp.
| void bb::avm2::tracegen::AddressDerivationTraceBuilder::process | ( | const simulation::EventEmitterInterface< simulation::AddressDerivationEvent >::Container & | events, |
| TraceContainer & | trace | ||
| ) |
Process address derivation events and populate the relevant columns in the trace. Corresponds to the subtrace address_derivation.pil.
This trace is non memory-aware and does not handle any errors. It relies on the poseidon2, scalar_mul, and ecc traces to constrain correctness of the address. Only the incoming_viewing_key is held as a Grumpkin point; the other five master public keys are exposed as their hashes (DOM_SEP__SINGLE_PUBLIC_KEY_HASH). The address is derived as:
| events | The container of address derivation events to process. |
| trace | The trace container. |
Definition at line 36 of file address_derivation_trace.cpp.
|
static |
Definition at line 18 of file address_derivation_trace.hpp.