Skip to main content

Module reconstructor

Module reconstructor 

Source

Modulesยง

utils ๐Ÿ”’

Structsยง

DeferredAcks ๐Ÿ”’
Deferred acknowledgements for one cycle, drained in one shot when its part builders install.
SsaCommitmentGuard
Ownership of an Exit SSA commitment, released when dropped.
SsaReconstructor
Allows server-side reconstruction of SSAs.
SsaReconstructorConfig
Configuration for the SSA reconstructor.

Enumsยง

Deferral ๐Ÿ”’
What became of an acknowledgement handed to defer_ack.
ProcessedAckResult ๐Ÿ”’
Result of processing a single verified acknowledgement in the SSA reconstructor.

Constantsยง

AWAITING_ACK_ENTRY_BYTES
Live heap one entry in the awaiting-acknowledgement buffer costs, in bytes.
MAX_DEFERRED_ACKS_PER_CYCLE
Cap on deferred acknowledgements held across all polynomials of one cycle.
MAX_DEFERRED_ACKS_PER_POLYNOMIAL
Cap on deferred acknowledgements held for a single polynomial.

Functionsยง

push_unique ๐Ÿ”’
Appends a resolution unless an equal one is already present.
record_fault ๐Ÿ”’
Merges a fault observation into the batchโ€™s pending set, keeping the highest total per SSA.
record_progress ๐Ÿ”’
Merges a snapshot into the batchโ€™s pending set, keeping the furthest-along one per SSA.

Type Aliasesยง

DeferredAck ๐Ÿ”’
An acknowledgement that arrived before its polynomialโ€™s verifier was installed.
DeferredAckBucket ๐Ÿ”’
EncryptedShareCache ๐Ÿ”’
FaultObservation ๐Ÿ”’
One SSAโ€™s fault observation, with the relayer that carried the offending share.
GuardedExitCommitment ๐Ÿ”’
A registered Exit commitment, paired with ownership of its lifetime.
OwnedCommitment ๐Ÿ”’
What an SsaCommitmentGuard needs to release its SSA: where it is registered, and which one.