pub type HoprShareResolution = ShareResolution<SimplePseudonym, BjjKeypair>;Aliased Type§
pub enum HoprShareResolution {
RecoveredSsa(RecoveredSsa<SimplePseudonym, BjjKeypair>),
AlmostRecoveredSsa(SsaId<SimplePseudonym>),
Progress(SsaRecoveryProgress<SimplePseudonym>),
InvalidShares {
peer: Box<OffchainPublicKey>,
ssa_id: SsaId<SimplePseudonym>,
observed_total: u64,
},
}Variants§
RecoveredSsa(RecoveredSsa<SimplePseudonym, BjjKeypair>)
Full SSA was recovered.
AlmostRecoveredSsa(SsaId<SimplePseudonym>)
The early recovery threshold was reached (SSA almost complete).
Progress(SsaRecoveryProgress<SimplePseudonym>)
Absolute recovery progress for one SSA after this batch.
Invalid (unverifiable) shares were encountered for an SSA.
observed_total is the cross-peer aggregate for the SSA, not a delta and not this peer’s
share of it: the cycle is a single unit of accounting and any relayer can carry shares for it.
peer identifies who relayed the share that triggered this emission, for attribution only.