Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::RamRecord Struct Reference

A RAM memory record that can be ordered. More...

#include <rom_ram_logic.hpp>

Public Types

enum  AccessType { READ , WRITE }
 

Public Member Functions

bool operator< (const RamRecord &other) const
 
bool operator== (const RamRecord &other) const noexcept
 

Public Attributes

uint32_t index_witness = 0
 
uint32_t timestamp_witness = 0
 
uint32_t value_witness = 0
 
uint32_t index = 0
 
uint32_t timestamp = 0
 
AccessType access_type = AccessType::READ
 
uint32_t record_witness = 0
 
size_t gate_index = 0
 

Detailed Description

A RAM memory record that can be ordered.

Definition at line 37 of file rom_ram_logic.hpp.

Member Enumeration Documentation

◆ AccessType

Enumerator
READ 
WRITE 

Definition at line 38 of file rom_ram_logic.hpp.

Member Function Documentation

◆ operator<()

bool bb::RamRecord::operator< ( const RamRecord other) const
inline

Definition at line 50 of file rom_ram_logic.hpp.

◆ operator==()

bool bb::RamRecord::operator== ( const RamRecord other) const
inlinenoexcept

Definition at line 55 of file rom_ram_logic.hpp.

Member Data Documentation

◆ access_type

AccessType bb::RamRecord::access_type = AccessType::READ

Definition at line 47 of file rom_ram_logic.hpp.

◆ gate_index

size_t bb::RamRecord::gate_index = 0

Definition at line 49 of file rom_ram_logic.hpp.

◆ index

uint32_t bb::RamRecord::index = 0

Definition at line 45 of file rom_ram_logic.hpp.

◆ index_witness

uint32_t bb::RamRecord::index_witness = 0

Definition at line 42 of file rom_ram_logic.hpp.

◆ record_witness

uint32_t bb::RamRecord::record_witness = 0

Definition at line 48 of file rom_ram_logic.hpp.

◆ timestamp

uint32_t bb::RamRecord::timestamp = 0

Definition at line 46 of file rom_ram_logic.hpp.

◆ timestamp_witness

uint32_t bb::RamRecord::timestamp_witness = 0

Definition at line 43 of file rom_ram_logic.hpp.

◆ value_witness

uint32_t bb::RamRecord::value_witness = 0

Definition at line 44 of file rom_ram_logic.hpp.


The documentation for this struct was generated from the following file: