Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.02 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.02 KB

Pitchlake coprocessor

Contains all the necessary functions,benchmarks, guest progra to run the pitchlake zkvm process

File structure

benchmark
├── src
│   ├── fixed_point
│   ├── floating_point
│   ├── test
│
benchmark-risc0
├── methods-*
│
data-gathering
├── reserve-price-original
├── reserve-price-modified
│
main
├── host
├── methods-*
├── db-*

benchmark - consist of commonly shared rust functions in floating point and fixed point (to run test_compare_calculate_twap we will need to have data.csv in the benchmark directory)

benchmark-risc0 - consist of guest programs to run various sub functions (to run twap_error_bound_floating we will need to have data.csv in the twap_error_bound_floating directory)

data-gathering - contains code to gather data from the original implementation and the modified implementation

main - contains the original unoptimzed implementation as well as optimized twap and volatility calculation