Skip to main content

HoprSsaCommitmentState

Type Alias HoprSsaCommitmentState 

Source
pub type HoprSsaCommitmentState = SsaCommitmentState<SimplePseudonym, BjjPublicKey>;

Aliased Type§

pub struct HoprSsaCommitmentState {
    pub ssa_id: SsaId<SimplePseudonym>,
    pub ssa_deposit_address: Option<BjjPublicKey>,
    pub is_verifiable: bool,
    pub is_first_encountered: bool,
    pub deposit_address_first_encountered: bool,
}

Fields§

§ssa_id: SsaId<SimplePseudonym>

ID of the SSA that is being committed to.

§ssa_deposit_address: Option<BjjPublicKey>

Commitment to the SSA, if it’s already known.

§is_verifiable: bool

Whether the commitment is fully committed and therefore its partial shares are verifiable.

§is_first_encountered: bool

Whether this SSA was encountered for the first time.

§deposit_address_first_encountered: bool

Whether the SSA deposit address has been discovered.