Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS Client and Server Binaries #259

Merged
merged 204 commits into from
Jan 17, 2023
Merged

TS Client and Server Binaries #259

merged 204 commits into from
Jan 17, 2023

Conversation

SupremoUGH
Copy link
Contributor

@SupremoUGH SupremoUGH commented Sep 27, 2022

TODO:

  • Improve participant public key/signature collection
  • init_server with vector inputs so that it's circuit independent (config/ppot.rs)
  • binary to prepare the prover key
  • split coordinator into groups
  • add hex encoding for twitter message
  • logging
  • live update
    • synchronize changes to an existing registry: read CSV fully using csv but skip the iterator to the record after the known records, modify the API to allow for skipping during the for loop (using Iterator::skip API):
      /// Loads a registry of type `R` from `path` using `T` as the record type.
      #[inline]
      pub fn load<I, V, T, R, P>(path: P) -> Result<R, Error<T::Error>>
      where
      T: Record<I, V>,
      R: Registry<I, V>,
      P: AsRef<Path>,
      {
      let mut registry = R::new();
      for record in csv::Reader::from_reader(File::open(path)?).deserialize() {
      let (identifier, participant) = T::parse(record?).map_err(Error::Parse)?;
      registry.insert(identifier, participant);
      }
      Ok(registry)
      }
    • auto-load from the registry at some point: during start as async task and during update within the task

Before we can merge this PR, please make sure that all the following items have been checked off:

  • Linked to an issue with discussion and accepted design OR have an explanation in the PR that describes this work.
  • Added one line describing your change in CHANGELOG.md and added the appropriate changelog label to the PR.
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Checked that changes and commits conform to the standards outlined in CONTRIBUTING.md.

SupremoUGH and others added 30 commits September 23, 2022 20:37
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Co-authored-by: Todd Norton <93260651+GhostOfGauss@users.noreply.github.com>
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
Co-authored-by: Todd Norton <93260651+GhostOfGauss@users.noreply.github.com>
Signed-off-by: Francisco Hernández Iglesias <38819712+SupremoUGH@users.noreply.github.com>
bhgomes
bhgomes previously approved these changes Jan 17, 2023
GhostOfGauss
GhostOfGauss previously approved these changes Jan 17, 2023
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
@bhgomes bhgomes dismissed stale reviews from GhostOfGauss and themself via e6f5a52 January 17, 2023 15:05
@bhgomes bhgomes merged commit f96b6b9 into main Jan 17, 2023
@bhgomes bhgomes deleted the feat/server-bin branch January 17, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cryptography Area: Issues and PRs related to Cryptography A-trusted-setup Area: Issues and PRs related to Trusted Setup changelog:added Changelog: add these changes to the `added` section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants