Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
memory_contents_examples.hpp
Go to the documentation of this file.
1 
12 #ifndef MEMORY_CONTENTS_EXAMPLES_HPP_
13 #define MEMORY_CONTENTS_EXAMPLES_HPP_
14 
16 
17 namespace libsnark
18 {
19 
26  const size_t num_addresses,
27  const size_t value_size,
28  const size_t block1_size,
29  const size_t block2_size);
30 
36  const size_t num_addresses,
37  const size_t value_size,
38  const size_t num_filled);
39 
40 } // namespace libsnark
41 
42 #endif // MEMORY_CONTENTS_EXAMPLES_HPP_
libsnark
Definition: accumulation_vector.hpp:18
libsnark::memory_contents
std::map< size_t, size_t > memory_contents
Definition: memory_interface.hpp:25
libsnark::block_memory_contents
memory_contents block_memory_contents(const size_t num_addresses, const size_t value_size, const size_t block1_size, const size_t block2_size)
Definition: memory_contents_examples.cpp:23
memory_interface.hpp
libsnark::random_memory_contents
memory_contents random_memory_contents(const size_t num_addresses, const size_t value_size, const size_t num_filled)
Definition: memory_contents_examples.cpp:43