Skip to content

Safrole tickets context and Ring commitment - #13

Merged
gavofyork merged 8 commits into
gavofyork:mainfrom
davxy:safrole-nits
Jun 19, 2024
Merged

Safrole tickets context and Ring commitment #13
gavofyork merged 8 commits into
gavofyork:mainfrom
davxy:safrole-nits

Conversation

@davxy

@davxy davxy commented May 28, 2024

Copy link
Copy Markdown
Collaborator

Notable:

  • Ticket context is required to be equal to the primary sealing context,.
    • if not, the VRF output of the two signatures will be different (output is taken as the ticket-id in both cases and must match).
    • I've defined $X_T$ =$safrole_ticket_seal as the context to be used for both tickets generation and primary block sealing.
  • Ring root used to verify is the KZG commitment of three polynomials constructed by interpolating the values in the three sequences: PKs.X, PKs.Y, RingSelector bits (a bitmask used internally by the scheme).
    • Details are intentionally omitted. There is an entire - dense - doc from Vasilyev describing the scheme.
    • The three polynomials committments size is 144 = 3*48.
    • Previous size (196608) was referring to the whole KZG SRS also used by the prover (but the verifier doesn't require it and in practice is a constant)

@davxy
davxy force-pushed the safrole-nits branch 2 times, most recently from 61dd35c to 9c6f168 Compare May 28, 2024 16:53
@davxy davxy changed the title [DO NOT MERGE] Safrole Nitpicks Safrole tickets context and Ring commitment Jun 9, 2024
@davxy
davxy marked this pull request as ready for review June 9, 2024 08:33
@gavofyork
gavofyork merged commit 64d660c into gavofyork:main Jun 19, 2024
@davxy
davxy deleted the safrole-nits branch June 19, 2024 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants