Skip to main content

Module utils

Module utils 

Source

StructsΒ§

CommitmentProgress
Incremental outcome of feeding coefficient commitments into an SsaCommitmentBuilder.
RecoveredSsaTail πŸ”’
Minimal state retained after cryptographic recovery so buffered, already-paid SURBs can finish draining.
RecoveryCounters πŸ”’
Progress counters whose lifetime can outlast the reconstruction buffers that produced them.
SsaBuilder
Reconstruct a single SSA from a set of SSA parts recovered from polynomials.
SsaCommitmentBuilder
Builds a complete SSA from the incoming client constant-term commitments of the SSA-part polynomials for a specific Session Stealth Address (SSA).
SsaCycle
All post-commitment state of one SSA cycle, held as a single unit.
SsaPartBuilder
Collects shares of a single polynomial and reconstructs its constant term.
SurplusBudget πŸ”’
Per-polynomial post-reconstruction allowance shared by a live cycle and its compact recovered tail.

EnumsΒ§

AddShareOutcome
What a share contributed to its polynomial.
RecoveredTailCredit πŸ”’
Result of validating a share against a recovered cycle’s compact tail.

ConstantsΒ§

PROGRESS_ORDERING πŸ”’
Relaxed ordering suffices for every progress counter in SsaCycle.

FunctionsΒ§

checked_completed_share πŸ”’
Decodes a partial share and enforces the inexpensive structural checks that must precede both live-cycle and recovered-tail liveness accounting.