Skip to content

Create a verifier without the need of access to the registered parcipants #162

Closed
@iquerejeta

Description

@iquerejeta

Now, signatures can only be verified by an StmClerk

pub struct StmClerk<H, E>
where
    H: MTHashLeaf,
    E: ProverEnv,
{
    avk: Arc<MerkleTree<H>>,
    params: StmParameters,
    total_stake: Stake,
    proof_env: E,
    proof_key: E::ProvingKey,
    verif_key: E::VerificationKey,
}

The avk is represented as the full MerkleTree. However, for the proof verification, we only need the merkle commitment. To this end, we'll build a new entity, Verifier, which will only contain the minimal data needed to verify aggregated signatures.

Metadata

Metadata

Assignees

Labels

D-easyDifficulty: easyP-highPriority: highT-designType: discuss API design and/or research

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions