forked from privacy-scaling-explorations/maci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request privacy-scaling-explorations#849 from privacy-scal…
…ing-explorations/docs/core
- Loading branch information
Showing
8 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
46
website/versioned_docs/version-v1.x/coordinator-processing.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |