Skip to main content

Module generator

Module generator 

Source

StructsΒ§

EmissionProgress
How far share emission has progressed for one pseudonym.
IndexedPolynomial πŸ”’
RetainedCommitment πŸ”’
Everything needed to re-send part of one cycle’s commitment, minus the polynomials themselves.
SsaGeneratorConfig
Configuration for the SsaShareGenerator.
SsaPseudonymEntry πŸ”’
SsaShareGenerator
Generator for Session Stealth Address (SSA) shares distributed over Single Use Reply Blocks (SURBs).

ConstantsΒ§

SHARE_EMISSION_WINDOW
Number of polynomials the generator emits shares for concurrently.

FunctionsΒ§

min_emission_for_early_recovery
Fewest shares that can be emitted for a cycle before an Exit’s early-recovery signal can fire.
new_polynomial_with_commitment πŸ”’
Builds a Shamir polynomial of degree t - 1 over secret and commits to its constant term.
selected_constant_terms πŸ”’
Picks out the constant-term commitments covered by runs, in ascending polynomial-index order.
surplus_must_not_exceed_threshold πŸ”’
Rejects a surplus larger than the threshold it insures.
transposed_constant_terms πŸ”’
Lays the per-polynomial constant-term commitments out in the coefficient-major form the wire messages expect.

Type AliasesΒ§

RawPolynomial πŸ”’