Skip to content

Commit

Permalink
Merge pull request privacy-scaling-explorations#849 from privacy-scal…
Browse files Browse the repository at this point in the history
…ing-explorations/docs/core
  • Loading branch information
ctrlc03 authored Dec 7, 2023
2 parents 99a3539 + 9331ae8 commit a9e13e3
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/static/img/completingAPoll.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions website/static/img/coordinatorComponents.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions website/static/img/generateProofs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions website/static/img/messageProcessingLocal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions website/static/img/offlineProcessing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions website/static/img/tallyCommitments.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions website/static/img/voteTallyingLocal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions website/versioned_docs/version-v1.x/coordinator-processing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: Coordinator local processing
description: How does the coordinator process and tallies messages locally
sidebar_label: Coordinator local processing
sidebar_position: 13
---

# Coordinator local processing

The coordinator is responsible for processing and tallying messages locally, before generating proofs that this was done correctly using the zk-SNARK circuits.

To summarize, the coordinator's goal here is to process all of the messages that were submitted by MACI's voters, then tally the votes based on the valid vote messages. Furthermore, each batch processed should be able to be verified by a zk-SNARK proof.

## Which MACI's components are involved

The following diagram, shows which components are involved and at which step of the way

![components involved](/img/coordinatorComponents.svg)

## What does the process look like?

![processing](/img/offlineProcessing.svg)

Zooming in..

**Message processing**

![message processing](/img/messageProcessingLocal.svg)

**Vote tallying**

![vote tallying](/img/voteTallyingLocal.svg)

## What does the process look like when including the zk-SNARK proofs

**Process of completing a Poll**

![processing with proofs](/img/completingAPoll.svg)

**Process of generating proofs**

![generating proofs](/img/generateProofs.svg)

**Tally commitments**

![tally commitments](/img/tallyCommitments.svg)

0 comments on commit a9e13e3

Please sign in to comment.