cardano-scaling / alba

Prototype implementation of Approximate Lower Bound Arguments
Apache License 2.0
9 stars 2 forks source link

Reorder and restructure code #46

Open rrtoledo opened 1 week ago

rrtoledo commented 1 week ago
rrtoledo commented 1 week ago
- src/
   - centralized_telescope/
      - params.rs -- Params struct without functions
      - setup.rs -- Setup struct without functions
      - make_setup.rs -- function to convert Params to Setup
      - scheme.rs -- prover and verifier functions
rrtoledo commented 1 week ago
it would be nice to have a consistent function order, either call tree or reverse call tree. https://www.staycaffeinated.com/2021/05/15/coding-standards-function-ordering
rrtoledo commented 1 week ago

This version of Setup seems much better and more user-friendly. However, I would prefer to see the new function at the bottom.