|
barretenberg
|
The manifest structure holds the header of a transcript file. More...
#include <io.hpp>
Public Attributes | |
| uint32_t | transcript_number |
| uint32_t | total_transcripts |
| uint32_t | total_g1_points |
| uint32_t | total_g2_points |
| uint32_t | num_g1_points |
| uint32_t | num_g2_points |
| uint32_t | start_from |
The manifest structure holds the header of a transcript file.
A transript file has the following structure:
00 | XX XX XX XX | This transcript file number 04 | XX XX XX XX | The total number of transcripts 08 | XX XX XX XX | The total number of G1 points (num_g1_points) 0C | XX XX XX XX | The total number of G2 points (num_g2_points) 10 | XX XX XX XX | The number of G1 points in this file 14 | XX XX XX XX | The number of G2 points in this file 18 | XX XX XX XX | ‾\ ‾\ ... > G1 point \ 34 | XX XX XX XX | _/ \ ... > num_g1_points * 0x20 bytes YY | XX XX XX XX | ‾\ / ... > G1 point / YY | XX XX XX XX | _/ _/ YY | XX XX XX XX | ‾\ ‾\ ... > G2 point \ YY | XX XX XX XX | _/ \ ... > num_g2_points * 0x40 bytes YY | XX XX XX XX | ‾\ / ... > G2 point / YY | XX XX XX XX | _/ _/