This is the msgpack encoding of the objects returned by the following typescript: const stepToStruct = (step: PrivateExecutionStep) => { return { bytecode: step.bytecode, witness: serializeWitness(step.witness), vk: step.vk, functionName: step.functionName }; }; await fs.writeFile(path, encode(executionSteps.map(stepToStruct))); See format notes below.
More...
#include <private_execution_steps.hpp>
This is the msgpack encoding of the objects returned by the following typescript: const stepToStruct = (step: PrivateExecutionStep) => { return { bytecode: step.bytecode, witness: serializeWitness(step.witness), vk: step.vk, functionName: step.functionName }; }; await fs.writeFile(path, encode(executionSteps.map(stepToStruct))); See format notes below.
Definition at line 23 of file private_execution_steps.hpp.
◆ compress_and_save()
void bb::PrivateExecutionStepRaw::compress_and_save |
( |
std::vector< PrivateExecutionStepRaw > && |
steps, |
|
|
const std::filesystem::path & |
output_path |
|
) |
| |
|
static |
◆ load()
std::vector< PrivateExecutionStepRaw > bb::PrivateExecutionStepRaw::load |
( |
const std::filesystem::path & |
input_path | ) |
|
|
static |
◆ load_and_decompress()
std::vector< PrivateExecutionStepRaw > bb::PrivateExecutionStepRaw::load_and_decompress |
( |
const std::filesystem::path & |
input_path | ) |
|
|
static |
◆ msgpack()
void bb::PrivateExecutionStepRaw::msgpack |
( |
auto |
pack_fn | ) |
|
|
inline |
◆ parse_uncompressed()
std::vector< PrivateExecutionStepRaw > bb::PrivateExecutionStepRaw::parse_uncompressed |
( |
const std::vector< uint8_t > & |
buf | ) |
|
|
static |
◆ self_decompress()
void bb::PrivateExecutionStepRaw::self_decompress |
( |
| ) |
|
◆ bytecode
std::vector<uint8_t> bb::PrivateExecutionStepRaw::bytecode |
◆ function_name
std::string bb::PrivateExecutionStepRaw::function_name |
◆ vk
std::vector<uint8_t> bb::PrivateExecutionStepRaw::vk |
◆ witness
std::vector<uint8_t> bb::PrivateExecutionStepRaw::witness |
The documentation for this struct was generated from the following files: