Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #20763

Closed (moved)
(moved)
Open
Created Nov 24, 2016 by teor@teor

Add shared random to consensus health

Consensus method 23 introduced the shared random protocol, which has lines like these in the votes:

shared-rand-participate
shared-rand-commit 1 sha3-256 188AB2EB56A3E6E097386E02DE799B14FC515C82 AAAAAFg2L
YBcpntRXkieDarbOn7IXXJuzNNjSyjPvUGWGiWQuiHI7w== AAAAAFg2LYBO0rQDcdSHsKm74LNZmyZk
4leZENT8iVV1dsIsrOwKdQ==
shared-rand-commit 1 sha3-256 4CAEC248004A0DC6CE86EBD5F608C9B05500C70C AAAAAFg2L
YDLqk+EH1tqita97dnlxpfBWq6MFqFR5RA+SRXIrjoiWA== AAAAAFg2LYCc0lvA9/n4lf5ZPhM9JiRk
j1l+/P9b7sAtfvbE3Zjbuw==
(one commit with an optional reveal per authority)
shared-rand-previous-value 8 SaljvGkIUuVY5e4XRiXH85mcS71/7FMbHvaZxdx6CYU=
shared-rand-current-value 8 Nb3qyVtVOkeUG3o2c0jYZN59m+w45O0VzwGd33rp0rg=

And lines like these in the consensus:

shared-rand-previous-value 8 SaljvGkIUuVY5e4XRiXH85mcS71/7FMbHvaZxdx6CYU=
shared-rand-current-value 8 Nb3qyVtVOkeUG3o2c0jYZN59m+w45O0VzwGd33rp0rg=

It might be useful to have these in Consensus Health, particularly when the authorities on the public network are running 0.2.9 and later.

It would be useful to know, for each authority's commit and reveal in its own vote, how many other authorities have a vote with that authority's commit and reveal (and if any have mismatching values, that's a red flag).

It would be useful to know, for the voted shared random current and previous values, how many other authorities have a the same, different, or missing voted current and previous value.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking