Skip to content

Showcase voting and certification primitives #564

@hjeljeli32

Description

@hjeljeli32

Why

We would like to share with our community how Leois's voting is performed in memory-efficient manner.

What

Goal: Have a visually pleasing showcase of the voting for a monthly meeting (perhaps the next one?)

Subgoals:

  • Get an intuition of the inner workings of the fait-accompli protocol
  • Get an intuition on the relations between persistent and non-persistent voters
  • Get an intuition on what is in a registration cert/vote/eb-certificated etc
  • Get an intuition on the eb-certificate size related to the (non)-persistend voters

Nongoals:

  • Showcase the networking stack
  • What RB or EB blocks look like
  • How the registration workflow happens

How

@bwbush made the wonderful leios_crypto_benchmarks cli tool that can generate signatures and showcase the voting end-to-end.
Using that tool and some Bash scripting, create a fake stake distribution and cadence of RB's plus an occasional EB announcement. This EB is just represented as a dummy hash; it does not contain any data (the cli tool allows for this). Using the CLI tool, make votes across the stake distribution and visualize the threshold and reaching it or not (resulting in a valid EB cert and adopting the EB or not).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions