|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Verify that a precomputed verification key matches the circuit. More...
#include <bbapi_chonk.hpp>
Classes | |
| struct | Response |
| Contains the validation result. More... | |
Public Member Functions | |
| Response | execute (const BBApiRequest &request={}) && |
| SERIALIZATION_FIELDS (circuit, use_zk_flavor) | |
| bool | operator== (const ChonkCheckPrecomputedVk &) const =default |
Public Attributes | |
| CircuitInput | circuit |
| Circuit with its precomputed verification key. | |
| bool | use_zk_flavor = false |
| When true, derive VK using MegaZKFlavor; otherwise MegaFlavor. The caller sets this to true for the hiding-kernel circuit. | |
Static Public Attributes | |
| static constexpr const char | MSGPACK_SCHEMA_NAME [] = "ChonkCheckPrecomputedVk" |
Verify that a precomputed verification key matches the circuit.
Definition at line 229 of file bbapi_chonk.hpp.
| ChonkCheckPrecomputedVk::Response bb::bbapi::ChonkCheckPrecomputedVk::execute | ( | const BBApiRequest & | request = {} | ) | && |
Definition at line 296 of file bbapi_chonk.cpp.
|
default |
| bb::bbapi::ChonkCheckPrecomputedVk::SERIALIZATION_FIELDS | ( | circuit | , |
| use_zk_flavor | |||
| ) |
| CircuitInput bb::bbapi::ChonkCheckPrecomputedVk::circuit |
Circuit with its precomputed verification key.
Definition at line 248 of file bbapi_chonk.hpp.
|
staticconstexpr |
Definition at line 230 of file bbapi_chonk.hpp.
| bool bb::bbapi::ChonkCheckPrecomputedVk::use_zk_flavor = false |
When true, derive VK using MegaZKFlavor; otherwise MegaFlavor. The caller sets this to true for the hiding-kernel circuit.
Definition at line 251 of file bbapi_chonk.hpp.